Class TextMediaFormat

Definition

Namespace:
Tizen.Multimedia
Assembly:
Tizen.Multimedia.dll
API Level:
3

Represents a text media format. This class cannot be inherited.

C#
Copy
public sealed class TextMediaFormat : MediaFormat
Inheritance
TextMediaFormat

Constructors

View Source

TextMediaFormat(MediaFormatTextMimeType, MediaFormatTextType)

Initializes a new instance of the TextMediaFormat class with the specified mime type and text type.

Declaration
C#
Copy
public TextMediaFormat(MediaFormatTextMimeType mimeType, MediaFormatTextType textType)
Parameters
Type Name Description
MediaFormatTextMimeType mimeType

The mime type of the format.

MediaFormatTextType textType

The text type of the format.

API Level: 3

Properties

View Source

MimeType

Gets the mime type of the current format.

Declaration
C#
Copy
public MediaFormatTextMimeType MimeType { get; }
Property Value
Type Description
MediaFormatTextMimeType
API Level: 3
View Source

TextType

Gets the text type of the current format.

Declaration
C#
Copy
public MediaFormatTextType TextType { get; }
Property Value
Type Description
MediaFormatTextType
API Level: 3

Methods

View Source

Equals(Object)

Compares an object to an instance of TextMediaFormat for equality.

Declaration
C#
Copy
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj

A to compare.

Returns
Type Description
Boolean

true if the formats are equal; otherwise, false.

API Level: 3
View Source

GetHashCode()

Gets the hash code for this instance of TextMediaFormat.

Declaration
C#
Copy
public override int GetHashCode()
Returns
Type Description
Int32

The hash code for this instance of TextMediaFormat.

API Level: 3
View Source

ToString()

Returns a string that represents the current object.

Declaration
C#
Copy
public override string ToString()
Returns
Type Description
String

A string that represents the current object.

API Level: 3

Extension Methods