MeasurementApiUtil
public
class
MeasurementApiUtil
extends Object
java.lang.Object | |
↳ | android.adservices.measurement.MeasurementApiUtil |
This class encapsulates possible states of the APIs exposed by MeasurementApi APK.
Summary
Constants | |
---|---|
int |
MEASUREMENT_API_STATE_DISABLED
This state indicates that Measurement APIs are unavailable. |
int |
MEASUREMENT_API_STATE_ENABLED
This state indicates that Measurement APIs are enabled. |
Inherited methods | |
---|---|
Constants
MEASUREMENT_API_STATE_DISABLED
public static final int MEASUREMENT_API_STATE_DISABLED
This state indicates that Measurement APIs are unavailable.
Invoking them will result in an UnsupportedOperationException
.
Constant Value: 0 (0x00000000)
MEASUREMENT_API_STATE_ENABLED
public static final int MEASUREMENT_API_STATE_ENABLED
This state indicates that Measurement APIs are enabled.
Constant Value: 1 (0x00000001)