Class TextMediaFormat
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.dll
- API Level:
- 3
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. |
Exceptions
Type | Condition |
---|---|
ArgumentException |
|
API Level: 3
Properties
View SourceMimeType
Gets the mime type of the current format.
Declaration
public MediaFormatTextMimeType MimeType { get; }
Property Value
Type | Description |
---|---|
MediaFormatTextMimeType |
API Level: 3
View SourceTextType
Gets the text type of the current format.
Declaration
public MediaFormatTextType TextType { get; }
Property Value
Type | Description |
---|---|
MediaFormatTextType |
API Level: 3
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 Object to compare. |
Returns
Type | Description |
---|---|
Boolean | true if the formats are equal; otherwise, false. |
Overrides
API Level: 3
View SourceGetHashCode()
Gets the hash code for this instance of TextMediaFormat.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | The hash code for this instance of TextMediaFormat. |
Overrides
API Level: 3
View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A string that represents the current object. |