Class StickerData
Definition
- Assembly:
- Tizen.Uix.Sticker.dll
The StickerData provides the methods to get/set the sticker data.
C#Copypublic class StickerData : IDisposable
- Inheritance
-
objectStickerData
- Implements
-
System.IDisposable
Constructors
Declaration
C#Copypublic StickerData()
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The required feature is not supported. |
| System.InvalidOperationException | This can occur due to the following reasons:
|
Properties
Declaration
C#Copypublic string AppId { get; }
Property Value
| Type | Description |
|---|---|
| string |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The required feature is not supported. |
| System.InvalidOperationException | This exception can be due to no data available. |
Declaration
C#Copypublic string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The required feature is not supported. |
Declaration
C#Copypublic DisplayType DisplayType { get; set; }
Property Value
| Type | Description |
|---|---|
| DisplayType |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The required feature is not supported. |
| System.ArgumentException | This exception can be due to an invalid parameter. |
Declaration
C#Copypublic string GroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The required feature is not supported. |
| System.InvalidOperationException | This exception can be due to no data available. |
Declaration
C#Copypublic DateTime LastUpdated { get; }
Property Value
| Type | Description |
|---|---|
| System.DateTime |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The required feature is not supported. |
| System.InvalidOperationException | This exception can be due to no data available. |
Declaration
C#Copypublic string Thumbnail { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The required feature is not supported. |
| System.ArgumentException | This exception can be due to an invalid parameter. |
Declaration
C#Copypublic string Uri { get; }
Property Value
| Type | Description |
|---|---|
| string |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The required feature is not supported. |
| System.InvalidOperationException | This exception can be due to no data available. |
Declaration
C#Copypublic UriType UriType { get; }
Property Value
| Type | Description |
|---|---|
| UriType |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The required feature is not supported. |
| System.InvalidOperationException | This exception can be due to no data available. |
Methods
Declaration
C#Copypublic void AddKeyword(string keyword)
Parameters
| Type | Name | Description |
|---|---|---|
| string | keyword | The keyword to be saved. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The required feature is not supported. |
| System.ArgumentException | This exception can be due to an invalid parameter. |
Declaration
C#Copypublic void Dispose()
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | If true, disposes any disposable objects. If false, does not dispose disposable objects. |
Declaration
C#Copyprotected ~StickerData()
Declaration
C#Copypublic IEnumerable<string> GetAllKeywords()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<T><string> |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The required feature is not supported. |
| System.InvalidOperationException | This exception can be due to no data available. |
Declaration
C#Copypublic void RemoveKeyword(string keyword)
Parameters
| Type | Name | Description |
|---|---|---|
| string | keyword | The keyword to be removed. |
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The required feature is not supported. |
| System.ArgumentException | This exception can be due to an invalid parameter. |
Declaration
C#Copypublic void SetUri(UriType uriType, string uri)
Parameters
| Type | Name | Description |
|---|---|---|
| UriType | uriType | The URI type to be saved. |
| string | uri | The URI to be saved. |
Remarks
uri must be a path inside the app package directory like 'res/smile.png' when the type of URI is local path.
Exceptions
| Type | Condition |
|---|---|
| System.NotSupportedException | The required feature is not supported. |
| System.ArgumentException | This exception can be due to an invalid parameter. |