Class ContainerMediaFormat

Definition

Namespace:
Tizen.Multimedia
Assembly:
Tizen.Multimedia.dll

Represents a container media format. This class cannot be inherited.

C#
Copy
public sealed class ContainerMediaFormat : MediaFormat
Inheritance
object
ContainerMediaFormat

Constructors

View Source

ContainerMediaFormat(MediaFormatContainerMimeType)

Initializes a new instance of the ContainerMediaFormat class.

Declaration
C#
Copy
public ContainerMediaFormat(MediaFormatContainerMimeType mimeType)
Parameters
Type Name Description
MediaFormatContainerMimeType mimeType

The mime type of the container format.

Exceptions
Type Condition
System.ArgumentException

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

Properties

View Source

MimeType

Gets the mime type of the current format.

Declaration
C#
Copy
public MediaFormatContainerMimeType MimeType { get; }
Property Value
Type Description
MediaFormatContainerMimeType

Methods

View Source

Equals(object)

Compares an object to an instance of ContainerMediaFormat for equality.

Declaration
C#
Copy
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 ContainerMediaFormat.

Declaration
C#
Copy
public override int GetHashCode()
Returns
Type Description
int

The hash code for this instance of ContainerMediaFormat.

Overrides
object.GetHashCode()
View Source

ToString()

Returns a string that represents the current object.

Declaration
C#
Copy
public override string ToString()
Returns
Type Description
string

A string that represents the current object.

Overrides
object.ToString()