共用方式為


CMFormatDescription 類別

定義

描述音訊、視訊、文字和時間代碼的媒體資料

public class CMFormatDescription : IDisposable, ObjCRuntime.INativeObject
type CMFormatDescription = class
    interface INativeObject
    interface IDisposable
繼承
CMFormatDescription
衍生
實作

備註

有些屬性適用于所有媒體類型,有些屬性則僅適用于特定媒體類型。 在這些情況下,它們前面會加上音訊或視訊。

屬性

AudioChannelLayout

僅限音訊媒體:描述頻道配置。

AudioFormats

僅限音訊媒體:支援的音訊格式,從最豐富到更少排序。

AudioFormatType

描述音訊、視訊、文字和時間代碼的媒體資料

AudioMagicCookie

僅限音訊媒體:可能需要傳遞至某些後端的魔術 Cookie。

AudioMostCompatibleFormat

僅限音訊媒體:傳回最可理解的音訊格式。

AudioRichestDecodableFormat

僅限音訊媒體:傳回最豐富的可解碼格式。

AudioStreamBasicDescription

僅限音訊媒體:傳回音頻的 AudioStreamBasicDescritpion 物件。

ClosedCaptionFormatType

描述音訊、視訊、文字和時間代碼的媒體資料

Handle

處理 unmanaged 物件標記法) (指標。

MediaSubType

傳回媒體子類型,在理想情況下,您應該改用強型別版本。

MediaType

描述音訊、視訊、文字和時間代碼的媒體資料

MetadataFormatType

描述音訊、視訊、文字和時間代碼的媒體資料

MuxedStreamType

描述音訊、視訊、文字和時間代碼的媒體資料

SubtitleFormatType

描述音訊、視訊、文字和時間代碼的媒體資料

TimeCodeFormatType

描述音訊、視訊、文字和時間代碼的媒體資料

VideoCodecType

描述音訊、視訊、文字和時間代碼的媒體資料

方法

Create(CMMediaType, UInt32, CMFormatDescriptionError)

根據原生控制碼建立 CMFormatDescription (或其子類別) ,並將它包裝在特定類型中。

Create(IntPtr)

根據原生控制碼建立 CMFormatDescription (或其子類別) 。

Create(IntPtr, Boolean)

根據原生控制碼建立 CMFormatDescription (或其子類別) 。

Dispose()

釋放 CMFormatDescription 物件所使用的資源。

Dispose(Boolean)

釋放 CMFormatDescription 物件所使用的資源。

Finalize()

CMFormatDescription 物件的完成項

GetExtension(String)

描述音訊、視訊、文字和時間代碼的媒體資料

GetExtensions()

描述音訊、視訊、文字和時間代碼的媒體資料

GetTypeID()

CoreMedia.CMFormatDescription 類型的類型識別碼。

適用於