AVCaptureDevice.GetDefaultDevice 메서드

정의

오버로드

GetDefaultDevice(AVMediaTypes)

제공된 미디어 형식의 기본 디바이스를 반환합니다.

GetDefaultDevice(NSString)

제공된 미디어 형식의 기본 디바이스를 반환합니다.

GetDefaultDevice(AVCaptureDeviceType, String, AVCaptureDevicePosition)

제공된 디바이스 및 미디어 유형 및 전면 또는 후면 위치의 기본 디바이스를 반환합니다.

GetDefaultDevice(AVMediaTypes)

제공된 미디어 형식의 기본 디바이스를 반환합니다.

public static AVFoundation.AVCaptureDevice GetDefaultDevice (AVFoundation.AVMediaTypes mediaType);
static member GetDefaultDevice : AVFoundation.AVMediaTypes -> AVFoundation.AVCaptureDevice

매개 변수

mediaType
AVMediaTypes

기본 디바이스를 가져올 미디어 유형입니다.

반환

적용 대상

GetDefaultDevice(NSString)

제공된 미디어 형식의 기본 디바이스를 반환합니다.

[Foundation.Export("defaultDeviceWithMediaType:")]
public static AVFoundation.AVCaptureDevice GetDefaultDevice (Foundation.NSString mediaType);
static member GetDefaultDevice : Foundation.NSString -> AVFoundation.AVCaptureDevice

매개 변수

mediaType
NSString

기본 디바이스를 가져올 미디어 유형입니다.

반환

특성

적용 대상

GetDefaultDevice(AVCaptureDeviceType, String, AVCaptureDevicePosition)

제공된 디바이스 및 미디어 유형 및 전면 또는 후면 위치의 기본 디바이스를 반환합니다.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public static AVFoundation.AVCaptureDevice GetDefaultDevice (AVFoundation.AVCaptureDeviceType deviceType, string mediaType, AVFoundation.AVCaptureDevicePosition position);
static member GetDefaultDevice : AVFoundation.AVCaptureDeviceType * string * AVFoundation.AVCaptureDevicePosition -> AVFoundation.AVCaptureDevice

매개 변수

deviceType
AVCaptureDeviceType

캡처에 사용할 디바이스 유형입니다.

mediaType
String

기본 디바이스를 가져올 미디어 유형입니다.

position
AVCaptureDevicePosition

디바이스가 전면, 후면 또는 지정되지 않은지 여부입니다.

반환

특성

적용 대상