Class TextMediaFormat
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.dll
Represents a text media format. This class cannot be inherited.
public sealed class TextMediaFormat : MediaFormat
- Inheritance
Constructors
View SourceTextMediaFormat(MediaFormatTextMimeType, MediaFormatTextType)
Initializes a new instance of the TextMediaFormat class with the specified mime type and text type.
Declaration
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. |
Properties
View SourceMimeType
Gets the mime type of the current format.
Declaration
public MediaFormatTextMimeType MimeType { get; }
Property Value
Type | Description |
---|---|
MediaFormatTextMimeType |
TextType
Gets the text type of the current format.
Declaration
public MediaFormatTextType TextType { get; }
Property Value
Type | Description |
---|---|
MediaFormatTextType |
Methods
View SourceEquals(object)
Compares an object to an instance of TextMediaFormat for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | A |
Returns
Type | Description |
---|---|
bool | true if the formats are equal; otherwise, false. |
GetHashCode()
Gets the hash code for this instance of TextMediaFormat.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | The hash code for this instance of TextMediaFormat. |
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |