Class Badge
Definition
- Namespace:
- Tizen.Applications
- Assembly:
- Tizen.Applications.Badge.dll
- API Level:
- 3
The class containing common properties of the Badge.
C#Copypublic class Badge
- Inheritance
-
System.ObjectBadge
Constructors
Declaration
C#Copypublic Badge(string appId, int count = 1, bool visible = true)
Parameters
Type | Name | Description |
---|---|---|
System.String | appId | Application ID |
Int32 | count | Count value |
Boolean | visible | True if it should be displayed |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when failed because of invalid argument |
API Level: 3
Properties
Declaration
C#Copypublic string AppId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
API Level: 3
Declaration
C#Copypublic int Count { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Exceptions
Type | Condition |
---|---|
System.ArgumentException | Thrown when set negative number |
API Level: 3
View Source
Visible
Property for display visibility. True if the badge display visible, otherwise false..
Declaration
C#Copypublic bool Visible { get; set; }
Property Value
Type | Description |
---|---|
Boolean |