AppBadge Struct
An application badge set by navigator.setAppBadge() or navigator.clearAppBadge() (https://w3c.github.io/badging/#the-badge).
public readonly struct AppBadge : IEquatable<AppBadge>- Implements
Properties
| Name | Description |
|---|---|
| Count | Gets the number shown by the badge, when AppBadge.Kind is AppBadgeKind.Count (0 otherwise). |
| Flag | Gets the badge without a number. |
| Kind | Gets the kind of the badge. |
| Nothing | Gets the badge that clears the badge. |
Count
Badging.csGets the number shown by the badge, when AppBadge.Kind is AppBadgeKind.Count (0 otherwise).
public ulong Count { get; }Property value
Flag
Badging.csKind
Badging.csNothing
Badging.csMethods
| Name | Description |
|---|---|
| Equals(AppBadge) | |
| Equals(object) | |
| FromCount(ulong) | Creates a badge that shows a number; 0 clears the badge. |
| GetHashCode() | |
| ToString() |
Equals overloads
Equals(AppBadge)
Equals(object)
FromCount(ulong)
Badging.csGetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(AppBadge, AppBadge) | |
| operator !=(AppBadge, AppBadge) |