-
public class BatchDataCollectionConfigBatch Automatic Data Collection related configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceBatchDataCollectionConfig.EditorEditor interface to edit the BatchDataCollectionConfig
-
Field Summary
Fields Modifier and Type Field Description private BooleangeoIPEnabledprivate BooleandeviceBrandEnabledprivate BooleandeviceModelEnabled
-
Method Summary
Modifier and Type Method Description BatchDataCollectionConfigsetGeoIPEnabled(boolean geoIPEnabled)Set whether Batch can resolve the user's region/location from the ip address. BatchDataCollectionConfigsetDeviceBrandEnabled(boolean deviceBrandEnabled)Set whether Batch should send the device brand information. BatchDataCollectionConfigsetDeviceModelEnabled(boolean deviceModelEnabled)Set whether Batch should send the device model information. BooleanisGeoIpEnabled()Get whether the geoip is enabled to resolve the user's location/region on server side. BooleanisDeviceBrandEnabled()Get whether the device brand collect is enabled (null mean unchanged from last modification or default value : false). BooleanisDeviceModelEnabled()Get whether the device model collect is enabled (null mean unchanged from last modification or default value : false). StringtoString()To String method -
-
Method Detail
-
setGeoIPEnabled
BatchDataCollectionConfig setGeoIPEnabled(boolean geoIPEnabled)
Set whether Batch can resolve the user's region/location from the ip address.
- Parameters:
geoIPEnabled- Whether Batch can resolve the geoip.
-
setDeviceBrandEnabled
BatchDataCollectionConfig setDeviceBrandEnabled(boolean deviceBrandEnabled)
Set whether Batch should send the device brand information.
- Parameters:
deviceBrandEnabled- Whether Batch can collect the device brand.
-
setDeviceModelEnabled
BatchDataCollectionConfig setDeviceModelEnabled(boolean deviceModelEnabled)
Set whether Batch should send the device model information.
- Parameters:
deviceModelEnabled- Whether Batch can collect the device model.
-
isGeoIpEnabled
@Nullable() Boolean isGeoIpEnabled()
Get whether the geoip is enabled to resolve the user's location/region on server side.
-
isDeviceBrandEnabled
@Nullable() Boolean isDeviceBrandEnabled()
Get whether the device brand collect is enabled (null mean unchanged from last modification or default value : false).
-
isDeviceModelEnabled
@Nullable() Boolean isDeviceModelEnabled()
Get whether the device model collect is enabled (null mean unchanged from last modification or default value : false).
-
-
-
-