Class BadgeControl
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.Badge.dll
The class for badge operation.
public static class BadgeControl
- Inheritance
-
objectBadgeControl
Methods
View SourceAdd(Badge)
Adds the badge information.
Declaration
public static void Add(Badge badge)
Parameters
| Type | Name | Description |
|---|---|---|
| Badge | badge | The Badge object. |
Find(string)
Gets the badge information from the application ID.
Declaration
public static Badge Find(string appId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | appId | Application ID. |
Returns
| Type | Description |
|---|---|
| Badge | The Badge object with inputted application ID |
GetBadges()
Gets all the badge information.
Declaration
public static IEnumerable<Badge> GetBadges()
Returns
| Type | Description |
|---|---|
| IEnumerable<><Badge> | List of all Badge instances. |
Remove(string)
Removes the badge information.
Declaration
public static void Remove(string appId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | appId | Application ID. |
Remove(Badge)
Removes the badge information.
Declaration
public static void Remove(Badge badge)
Parameters
| Type | Name | Description |
|---|---|---|
| Badge | badge | The Badge object. |
Update(Badge)
Updates the badge information.
Declaration
public static void Update(Badge badge)
Parameters
| Type | Name | Description |
|---|---|---|
| Badge | badge | The Badge object. |
Events
View SourceChanged
Event handler for receiving badge events.
Declaration
public static event EventHandler<BadgeEventArgs> Changed
Event Type
| Type | Description |
|---|---|
| EventHandler<><BadgeEventArgs> |