Język

PersonalContextManager.IsPersonalContextModeEnabled Property

Definition

Returns true if personal context data collection is enabled for the calling package.

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

Property Value

true if collection is enabled for the calling package; otherwise, false.

Attributes

Remarks

The getter uses the package name from the manager's context. To query a specified package instead, use InvokeIsPersonalContextModeEnabled(String).

Applies to