Share via


MeasurementManager.MeasurementApiStateDisabled Field

Definition

Caution

This constant will be removed in the future version. Use Android.AdServices.Measurement.MeasurementApiState enum directly instead of this field.

This state indicates that Measurement APIs are unavailable.

[Android.Runtime.Register("MEASUREMENT_API_STATE_DISABLED", ApiSince=34)]
[System.Obsolete("This constant will be removed in the future version. Use Android.AdServices.Measurement.MeasurementApiState enum directly instead of this field.", true)]
public const Android.AdServices.Measurement.MeasurementApiState MeasurementApiStateDisabled = 0;
[<Android.Runtime.Register("MEASUREMENT_API_STATE_DISABLED", ApiSince=34)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.AdServices.Measurement.MeasurementApiState enum directly instead of this field.", true)>]
val mutable MeasurementApiStateDisabled : Android.AdServices.Measurement.MeasurementApiState

Field Value

Value = 0
Attributes

Remarks

This state indicates that Measurement APIs are unavailable. Invoking them will result in an UnsupportedOperationException.

Java documentation for android.adservices.measurement.MeasurementManager.MEASUREMENT_API_STATE_DISABLED.

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.

Applies to