Share via


LockScreenBadge Class

Definition

Represents a lock screen badge for an app.

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

AutomationName

Gets the name.

Glyph

Gets the glyph to display.

Logo

Gets the logo to display with the badge.

Number

Gets the number to display with the badge.

Methods

LaunchApp()

Launches the app corresponding to the badge.

Applies to