AVCaptureDevice.DevicesWithMediaType(String) 方法

定义

一个可用 AVCaptureDevice的数组,可以捕获 mediaType

[Foundation.Export("devicesWithMediaType:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'AVCaptureDeviceDiscoverySession' instead.")]
public static AVFoundation.AVCaptureDevice[] DevicesWithMediaType (string mediaType);
static member DevicesWithMediaType : string -> AVFoundation.AVCaptureDevice[]

参数

mediaType
String

返回

属性

适用于