Class BadgeControl
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.Badge.dll
- API Level:
- 3
The class for badge operation.
C#Copypublic static class BadgeControl : object
- Inheritance
-
BadgeControl
Methods
Declaration
C#Copypublic static void Add(Badge badge)
Parameters
Type | Name | Description |
---|---|---|
Badge | badge | The Badge object. |
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/notification
Feature: http://tizen.org/feature/badge
Declaration
C#Copypublic static Badge Find(string appId)
Parameters
Type | Name | Description |
---|---|---|
String | appId | Application ID. |
Returns
Type | Description |
---|---|
Badge | The Badge object with inputted application ID |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/notification
Feature: http://tizen.org/feature/badge
Declaration
C#Copypublic static IEnumerable<Badge> GetBadges()
Returns
Type | Description |
---|---|
IEnumerable<Badge> | List of all Badge instances. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/notification
Feature: http://tizen.org/feature/badge
Declaration
C#Copypublic static void Remove(string appId)
Parameters
Type | Name | Description |
---|---|---|
String | appId | Application ID. |
API Level: 3
Privilege Level: public
Privilege: http://tizen.org/privilege/notification
Feature: http://tizen.org/feature/badge
Declaration
C#Copypublic static void Remove(Badge badge)
Parameters
Type | Name | Description |
---|---|---|
Badge | badge | The Badge object. |
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/notification
Feature: http://tizen.org/feature/badge
Declaration
C#Copypublic static void Update(Badge badge)
Parameters
Type | Name | Description |
---|---|---|
Badge | badge | The Badge object. |
API Level: 4
Privilege Level: public
Privilege: http://tizen.org/privilege/notification
Feature: http://tizen.org/feature/badge
Events
Declaration
C#Copypublic static event EventHandler<BadgeEventArgs> Changed
Event Type
Type | Description |
---|---|
EventHandler<BadgeEventArgs> |