AdServicesState
Stay organized with collections
Save and categorize content based on your preferences.
open class AdServicesState
This class specifies the state of the APIs exposed by AdServicesApi apk.
Summary
Public methods | |
---|---|
open static Boolean |
Returns current state of the |
Public methods
isAdServicesStateEnabled
open static fun isAdServicesStateEnabled(): Boolean
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.