AVCaptureDevice.DefaultDeviceWithMediaType(String) Method

Definition

Caution

Use 'GetDefaultDevice (AVMediaTypes)'.

The default device for the mediaType, which should be a value from AVMediaType.

[System.Obsolete("Use 'GetDefaultDevice (AVMediaTypes)'.", false)]
public static AVFoundation.AVCaptureDevice DefaultDeviceWithMediaType (string mediaType);
static member DefaultDeviceWithMediaType : string -> AVFoundation.AVCaptureDevice

Parameters

mediaType
String

Returns

AVCaptureDevice
Attributes

Applies to