Share via


DevicePolicyManager.KeyguardDisableWidgetsAll Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.Admin.KeyguardDisable enum directly instead of this field.

Disable all keyguard widgets.

[Android.Runtime.Register("KEYGUARD_DISABLE_WIDGETS_ALL")]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.KeyguardDisable enum directly instead of this field.", true)]
public const Android.App.Admin.KeyguardDisable KeyguardDisableWidgetsAll = 1;
[<Android.Runtime.Register("KEYGUARD_DISABLE_WIDGETS_ALL")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.Admin.KeyguardDisable enum directly instead of this field.", true)>]
val mutable KeyguardDisableWidgetsAll : Android.App.Admin.KeyguardDisable

Field Value

Value = 1
Attributes

Remarks

Disable all keyguard widgets. Has no effect starting from android.os.Build.VERSION_CODES#LOLLIPOP since keyguard widget is only supported on Android versions lower than 5.0.

Java documentation for android.app.admin.DevicePolicyManager.KEYGUARD_DISABLE_WIDGETS_ALL.

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