Language

ActivityAttribute.ShowOnLockScreen Property

Definition

Caution

Please use ShowForAllUsers instead.

Gets or sets the obsolete lock-screen and cross-user visibility declaration.

[System.Obsolete("Please use ShowForAllUsers instead.")]
public bool ShowOnLockScreen { get; set; }
[<System.Obsolete("Please use ShowForAllUsers instead.")>]
member this.ShowOnLockScreen : bool with get, set

Property Value

The legacy android:showOnLockScreen setting. Use ShowForAllUsers instead.

Attributes

Remarks

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