public class CaptureDeviceInfoConfig
extends java.lang.Object
implements java.io.Serializable
限定符和类型 | 字段和说明 |
---|---|
static <any> |
CREATOR |
static java.lang.String |
KEY_CAPTURE_BRAND |
static java.lang.String |
KEY_CAPTURE_MANUFACTURER |
static java.lang.String |
KEY_CAPTURE_MODEL |
构造器和说明 |
---|
CaptureDeviceInfoConfig(boolean captureModel,
boolean captureManufacturer,
boolean captureBrand) |
CaptureDeviceInfoConfig(Parcel in) |
限定符和类型 | 方法和说明 |
---|---|
int |
describeContents() |
static CaptureDeviceInfoConfig |
fromJson(JSONObject object) |
boolean |
isCaptureBrand()
是否获取品牌信息。
|
boolean |
isCaptureManufacturer()
是否获取制造商信息。
|
boolean |
isCaptureModel()
是否获取产品型号
|
JSONObject |
toJson() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final java.lang.String KEY_CAPTURE_MODEL
public static final java.lang.String KEY_CAPTURE_MANUFACTURER
public static final java.lang.String KEY_CAPTURE_BRAND
public static final <any> CREATOR
public CaptureDeviceInfoConfig(boolean captureModel, boolean captureManufacturer, boolean captureBrand)
public CaptureDeviceInfoConfig(Parcel in)
public boolean isCaptureModel()
public boolean isCaptureManufacturer()
public boolean isCaptureBrand()
public int describeContents()
public void writeToParcel(Parcel dest, int flags)
public JSONObject toJson()
public static CaptureDeviceInfoConfig fromJson(JSONObject object)