LockScreenInfo
LockScreenInfo
LockScreenInfo
LockScreenInfo
Class
Definition
Provides access to the same data that the default lock screen has access to, such as wallpaper, badges, and so on.
public : sealed class LockScreenInfo : ILockScreenInfopublic sealed class LockScreenInfo : ILockScreenInfoPublic NotInheritable Class LockScreenInfo Implements ILockScreenInfo// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
AlarmIcon AlarmIcon AlarmIcon AlarmIcon
Gets the alarm icon to display.
public : IRandomAccessStream AlarmIcon { get; }public IRandomAccessStream AlarmIcon { get; }Public ReadOnly Property AlarmIcon As IRandomAccessStream// You can use this property in JavaScript.
The alarm icon.
Badges Badges Badges Badges
Gets the badges to display.
public : IVectorView<LockScreenBadge> Badges { get; }public IReadOnlyList<LockScreenBadge> Badges { get; }Public ReadOnly Property Badges As IReadOnlyList<LockScreenBadge>// You can use this property in JavaScript.
- Value
- IVectorView<LockScreenBadge> IReadOnlyList<LockScreenBadge> IReadOnlyList<LockScreenBadge> IReadOnlyList<LockScreenBadge>
The badges.
DetailText DetailText DetailText DetailText
Gets the detail text to display.
public : IVectorView<string> DetailText { get; }public IReadOnlyList<string> DetailText { get; }Public ReadOnly Property DetailText As IReadOnlyList<string>// You can use this property in JavaScript.
- Value
- IVectorView<PlatForm::String> IReadOnlyList<string> IReadOnlyList<string> IReadOnlyList<string>
The text.
LockScreenImage LockScreenImage LockScreenImage LockScreenImage
Gets the image to display on the lock screen.
public : IRandomAccessStream LockScreenImage { get; }public IRandomAccessStream LockScreenImage { get; }Public ReadOnly Property LockScreenImage As IRandomAccessStream// You can use this property in JavaScript.
The image to display.
Events
AlarmIconChanged AlarmIconChanged AlarmIconChanged AlarmIconChanged
Indicates the alarm icon has changed.
public : event TypedEventHandler AlarmIconChanged<LockScreenInfo, object>public event TypedEventHandler AlarmIconChanged<LockScreenInfo, object>Public Event AlarmIconChanged<LockScreenInfo, object>// You can use this event in JavaScript.
BadgesChanged BadgesChanged BadgesChanged BadgesChanged
Indicates the badges have changed.
public : event TypedEventHandler BadgesChanged<LockScreenInfo, object>public event TypedEventHandler BadgesChanged<LockScreenInfo, object>Public Event BadgesChanged<LockScreenInfo, object>// You can use this event in JavaScript.
DetailTextChanged DetailTextChanged DetailTextChanged DetailTextChanged
Indicates the detail text has changed.
public : event TypedEventHandler DetailTextChanged<LockScreenInfo, object>public event TypedEventHandler DetailTextChanged<LockScreenInfo, object>Public Event DetailTextChanged<LockScreenInfo, object>// You can use this event in JavaScript.
LockScreenImageChanged LockScreenImageChanged LockScreenImageChanged LockScreenImageChanged
Indicates the lock screen image has changed.
public : event TypedEventHandler LockScreenImageChanged<LockScreenInfo, object>public event TypedEventHandler LockScreenImageChanged<LockScreenInfo, object>Public Event LockScreenImageChanged<LockScreenInfo, object>// You can use this event in JavaScript.