AdServicesState.IsAdServicesStateEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns current state of the AdServicesApi
.
public static bool IsAdServicesStateEnabled { [Android.Runtime.Register("isAdServicesStateEnabled", "()Z", "", ApiSince=34)] get; }
[<get: Android.Runtime.Register("isAdServicesStateEnabled", "()Z", "", ApiSince=34)>]
static member IsAdServicesStateEnabled : bool
Property Value
- Attributes
Remarks
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.
Java documentation for android.adservices.AdServicesState.isAdServicesStateEnabled()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.