Summary:
Methods
| Inherited Methods
AdServicesState
public
class
AdServicesState
extends Object
java.lang.Object | |
↳ | android.adservices.AdServicesState |
This class specifies the state of the APIs exposed by AdServicesApi apk.
Summary
Public methods | |
---|---|
static
boolean
|
isAdServicesStateEnabled()
Returns current state of the |
Inherited methods | |
---|---|
Public methods
isAdServicesStateEnabled
public static boolean isAdServicesStateEnabled ()
Returns current state of the AdServicesApi
. The state of AdServicesApi may change
only upon reboot, so this value can be cached, but not persisted, i.e., the value should be
rechecked after a reboot.
Returns | |
---|---|
boolean |