Delen via


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 ref class LockScreenInfo sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LockScreenInfo final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LockScreenInfo
Public NotInheritable Class LockScreenInfo
Inheritance
Object Platform::Object IInspectable LockScreenInfo
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

AlarmIcon

Gets the alarm icon to display.

Badges

Gets the badges to display.

DetailText

Gets the detail text to display.

LockScreenImage

Gets the image to display on the lock screen.

Events

AlarmIconChanged

Indicates the alarm icon has changed.

BadgesChanged

Indicates the badges have changed.

DetailTextChanged

Indicates the detail text has changed.

LockScreenImageChanged

Indicates the lock screen image has changed.

Applies to