Class StickerData

Definition

Namespace:
Tizen.Uix.Sticker
Assembly:
Tizen.Uix.Sticker.dll
API Level:
10

The StickerData provides the methods to get/set the sticker data.

C#
Copy
public class StickerData : IDisposable
Inheritance
System.Object
StickerData
Implements
System.IDisposable

Constructors

View Source

StickerData()

The public constructor.

Declaration
C#
Copy
public StickerData()
Exceptions
Type Condition
System.NotSupportedException

The required feature is not supported.

System.InvalidOperationException

This can occur due to the following reasons: 1) This exception can be due to out of memory. 2) This exception can be due to operation failed.

API Level: 10
Feature: http://tizen.org/feature/ui_service.sticker

Properties

View Source

AppId

Gets the name of the sticker provider application from sticker data.

Declaration
C#
Copy
public string AppId { get; }
Property Value
Type Description
System.String
Exceptions
Type Condition
System.NotSupportedException

The required feature is not supported.

System.InvalidOperationException

This exception can be due to no data available.

API Level: 10
Feature: http://tizen.org/feature/ui_service.sticker
View Source

Description

Gets/Sets the description of the sticker data.

Declaration
C#
Copy
public string Description { get; set; }
Property Value
Type Description
System.String
Exceptions
Type Condition
System.NotSupportedException

The required feature is not supported.

API Level: 10
Feature: http://tizen.org/feature/ui_service.sticker
View Source

DisplayType

Gets/Sets the display type of the sticker data.

Declaration
C#
Copy
public 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.

API Level: 10
Feature: http://tizen.org/feature/ui_service.sticker
View Source

GroupName

Gets/Sets the group name of the sticker data.

Declaration
C#
Copy
public string GroupName { get; set; }
Property Value
Type Description
System.String
Exceptions
Type Condition
System.NotSupportedException

The required feature is not supported.

System.InvalidOperationException

This exception can be due to no data available.

API Level: 10
Feature: http://tizen.org/feature/ui_service.sticker
View Source

LastUpdated

Gets the last update date from sticker data.

Declaration
C#
Copy
public 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.

API Level: 10
Feature: http://tizen.org/feature/ui_service.sticker
View Source

Thumbnail

Gets/Sets the thumbnail local path of the sticker data.

Declaration
C#
Copy
public string Thumbnail { get; set; }
Property Value
Type Description
System.String
Exceptions
Type Condition
System.NotSupportedException

The required feature is not supported.

System.ArgumentException

This exception can be due to an invalid parameter.

API Level: 10
Feature: http://tizen.org/feature/ui_service.sticker
View Source

Uri

Gets the URI from sticker data.

Declaration
C#
Copy
public string Uri { get; }
Property Value
Type Description
System.String
Exceptions
Type Condition
System.NotSupportedException

The required feature is not supported.

System.InvalidOperationException

This exception can be due to no data available.

API Level: 10
Feature: http://tizen.org/feature/ui_service.sticker
View Source

UriType

Gets the URI type from sticker data.

Declaration
C#
Copy
public 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.

API Level: 10
Feature: http://tizen.org/feature/ui_service.sticker

Methods

View Source

AddKeyword(String)

Adds a keyword of the sticker to the list.

Declaration
C#
Copy
public void AddKeyword(string keyword)
Parameters
Type Name Description
System.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.

API Level: 10
Feature: http://tizen.org/feature/ui_service.sticker
View Source

Dispose()

Release any unmanaged resources used by this object.

Declaration
C#
Copy
public void Dispose()
API Level: 10
View Source

Dispose(Boolean)

Release any unmanaged resources used by this object.

Declaration
C#
Copy
protected virtual void Dispose(bool disposing)
Parameters
Type Name Description
Boolean disposing

If true, disposes any disposable objects. If false, does not dispose disposable objects.

API Level: 10
View Source

Finalize()

The destructor of the StickerData class.

Declaration
C#
Copy
protected void Finalize()
View Source

GetAllKeywords()

Retrieves all keywords of the sticker data.

Declaration
C#
Copy
public IEnumerable<string> GetAllKeywords()
Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>
Exceptions
Type Condition
System.NotSupportedException

The required feature is not supported.

System.InvalidOperationException

This exception can be due to no data available.

API Level: 10
Feature: http://tizen.org/feature/ui_service.sticker
View Source

RemoveKeyword(String)

Removes a keyword of the sticker from the list.

Declaration
C#
Copy
public void RemoveKeyword(string keyword)
Parameters
Type Name Description
System.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.

API Level: 10
Feature: http://tizen.org/feature/ui_service.sticker
View Source

SetUri(UriType, String)

Sets the URI of the sticker data.

Declaration
C#
Copy
public void SetUri(UriType uriType, string uri)
Parameters
Type Name Description
UriType uriType

The URI type to be saved.

System.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.

API Level: 10
Feature: http://tizen.org/feature/ui_service.sticker

Implements

System.IDisposable