Partager via


TileService.IsSecure Property

Definition

Checks if the device is in a secure state.

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

Property Value

true if the device is secure.

Attributes

Remarks

Checks if the device is in a secure state.

TileServices should detect when the device is secure and change their behavior accordingly.

Java documentation for android.service.quicksettings.TileService.isSecure().

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