Class IconData

Definition

Namespace:
Tizen.Applications.WatchfaceComplication
Assembly:
Tizen.Applications.WatchfaceComplication.dll
API Level:
6

Represents the icon data for a complication.

C#
Copy
public class IconData : ComplicationData
Inheritance

Constructors

View Source

IconData(String, String)

Initializes the IconData class.

Declaration
C#
Copy
public IconData(string iconPath, string extraData)
Parameters
Type Name Description
String iconPath

The icon path.

String extraData

The extra data.

Examples
Copy
protected override ComplicationData OnDataUpdateRequested(string reqestAppId, ComplicationTypes type, Bundle contextData) { if (type == ComplicationTypes.Icon) { return new IconData("Icon", "extra"); } else if (type == ComplicationTypes.LongText) { return new LongTextData("longlong", "icon path", "title", null); } }
API Level: 6

Properties

View Source

ExtraData

The extra data.

Declaration
C#
Copy
public string ExtraData { get; set; }
Property Value
Type Description
String
API Level: 6
View Source

IconPath

The icon path data.

Declaration
C#
Copy
public string IconPath { get; set; }
Property Value
Type Description
String
API Level: 6
View Source

ScreenReaderText

The information about the screen reader text of complication data.

Declaration
C#
Copy
public string ScreenReaderText { get; set; }
Property Value
Type Description
String
API Level: 6

Extension Methods