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
    object
    MediaFormat
    TextMediaFormat

    Constructors

    View Source

    TextMediaFormat(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
    System.ArgumentException

    mimeType or textType is invalid (i.e. undefined value).

    Properties

    View Source

    MimeType

    Gets the mime type of the current format.

    Declaration
    public MediaFormatTextMimeType MimeType { get; }
    Property Value
    Type Description
    MediaFormatTextMimeType
    View Source

    TextType

    Gets the text type of the current format.

    Declaration
    public MediaFormatTextType TextType { get; }
    Property Value
    Type Description
    MediaFormatTextType

    Methods

    View Source

    Equals(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
    bool

    true if the formats are equal; otherwise, false.

    Overrides
    object.Equals(object)
    View Source

    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.

    Overrides
    object.GetHashCode()
    View Source

    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.

    Overrides
    object.ToString()
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX