Class TextMediaFormat
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.dll
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 |
|
Properties
Declaration
C#Copypublic MediaFormatTextMimeType MimeType { get; }
Property Value
| Type | Description |
|---|---|
| MediaFormatTextMimeType |
Declaration
C#Copypublic MediaFormatTextType TextType { get; }
Property Value
| Type | Description |
|---|---|
| MediaFormatTextType |
Methods
Declaration
C#Copypublic override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | A object to compare. |
Returns
| Type | Description |
|---|---|
| bool | true if the formats are equal; otherwise, false. |
Overrides
object.Equals(object)
Declaration
C#Copypublic override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | The hash code for this instance of TextMediaFormat. |
Overrides
object.GetHashCode()
Declaration
C#Copypublic override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |
Overrides
object.ToString()