LockScreenBadge LockScreenBadge LockScreenBadge LockScreenBadge Class

Definition

Represents a lock screen badge for an app.

public : sealed class LockScreenBadge : ILockScreenBadgepublic sealed class LockScreenBadge : ILockScreenBadgePublic NotInheritable Class LockScreenBadge Implements ILockScreenBadge// 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

AutomationName AutomationName AutomationName AutomationName

Gets the name.

public : PlatForm::String AutomationName { get; }public string AutomationName { get; }Public ReadOnly Property AutomationName As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The name.

Glyph Glyph Glyph Glyph

Gets the glyph to display.

public : IRandomAccessStream Glyph { get; }public IRandomAccessStream Glyph { get; }Public ReadOnly Property Glyph As IRandomAccessStream// You can use this property in JavaScript.

Logo Logo Logo Logo

Gets the logo to display with the badge.

public : IRandomAccessStream Logo { get; }public IRandomAccessStream Logo { get; }Public ReadOnly Property Logo As IRandomAccessStream// You can use this property in JavaScript.

Number Number Number Number

Gets the number to display with the badge.

public : IReference<uint> Number { get; }public Nullable<uint> Number { get; }Public ReadOnly Property Number As Nullable<uint>// You can use this property in JavaScript.
Value
IReference<unsigned int> Nullable<uint> Nullable<uint> Nullable<uint>

The number.

Methods

LaunchApp() LaunchApp() LaunchApp() LaunchApp()

Launches the app corresponding to the badge.

public : void LaunchApp()public void LaunchApp()Public Function LaunchApp() As void// You can use this method in JavaScript.