Share via


AVCaptureVideoDataOutput.GetAvailableVideoCodecTypes(String) 方法

定义

返回指定输出类型的可用编解码器类型的数组。

[Foundation.Export("availableVideoCodecTypesForAssetWriterWithOutputFileType:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual string[] GetAvailableVideoCodecTypes (string outputFileType);
abstract member GetAvailableVideoCodecTypes : string -> string[]
override this.GetAvailableVideoCodecTypes : string -> string[]

参数

outputFileType
String

要检查的输出文件类型。

返回

String[]
属性

适用于