ScreenLocked | screenLocked property
Collapse the table of content
Expand the table of content

SystemProtection.ScreenLocked | screenLocked property

Gets a value that indicates whether the screen is locked.

Syntax


var screenLocked = Windows.Phone.System.SystemProtection.screenLocked;

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

true if the screen is locked; otherwise, false.

Requirements (Windows 10 device family)

Device family

Mobile, introduced version 10.0.10240.0

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.System
Windows::Phone::System [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.System
Windows::Phone::System [C++]

Metadata

Windows.WinMD

See also

SystemProtection

 

 

Show:
© 2017 Microsoft