Class TextMediaFormat
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.dll
- API Level:
- 3
Represents a text media format. This class cannot be inherited.
C#Copypublic sealed class TextMediaFormat : MediaFormat
- Inheritance
Constructors
View Source
TextMediaFormat(MediaFormatTextMimeType, MediaFormatTextType)
Initializes a new instance of the TextMediaFormat class with the specified mime type and text type.
Declaration
C#Copypublic 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 |
---|---|
System.ArgumentException |
|
API Level: 3
Properties
Declaration
C#Copypublic MediaFormatTextMimeType MimeType { get; }
Property Value
Type | Description |
---|---|
MediaFormatTextMimeType |
API Level: 3
Declaration
C#Copypublic MediaFormatTextType TextType { get; }
Property Value
Type | Description |
---|---|
MediaFormatTextType |
API Level: 3
Methods
Declaration
C#Copypublic 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
Declaration
C#Copypublic override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code for this instance of TextMediaFormat. |
Overrides
API Level: 3
Declaration
C#Copypublic override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |
Overrides
System.Object.ToString()