Språk

Control.IsAuthRequired Property

Definition

Gets whether this control requires the device to be unlocked before interaction.

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

Property Value

true if the control can not be interacted with until the device is unlocked

Attributes

Remarks

The system may require unlocking even when this value is false, depending on the user's lock-screen setting.

Java documentation for android.service.controls.Control.isAuthRequired().

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