Class ContainerMediaFormat

Definition

Namespace:
Tizen.Multimedia
Assembly:
Tizen.Multimedia.dll
API Level:
3

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

C#
Copy
public sealed class ContainerMediaFormat : MediaFormat
Inheritance
System.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).

API Level: 3

Properties

View Source

MimeType

Gets the mime type of the current format.

Declaration
C#
Copy
public MediaFormatContainerMimeType MimeType { get; }
Property Value
Type Description
MediaFormatContainerMimeType
API Level: 3

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
System.Object obj

A System.Object to compare.

Returns
Type Description
System.Boolean

true if the formats are equal; otherwise, false.

Overrides
System.Object.Equals(System.Object)
API Level: 3
View Source

GetHashCode()

Gets the hash code for this instance of ContainerMediaFormat.

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

The hash code for this instance of ContainerMediaFormat.

Overrides
System.Object.GetHashCode()
API Level: 3
View Source

ToString()

Returns a string that represents the current object.

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

A string that represents the current object.

Overrides
API Level: 3