Język

PersonalContextManager.IsEnabled Property

Definition

Returns whether the Personal Context service is enabled system-wide.

public bool IsEnabled { [Android.Runtime.Register("isEnabled", "()Z", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("isEnabled", "()Z", "", ApiSince=37)>]
member this.IsEnabled : bool

Property Value

true if the service is enabled system-wide; otherwise, false.

Attributes

Remarks

This property reads the service-wide state. Use IsPersonalContextModeEnabled for the calling package's data-collection setting.

Applies to