AVCaptureDevice.HasMediaType Method

Definition

Overloads

HasMediaType(AVMediaTypes)

Whether the device can provide the mediaType.

HasMediaType(String)

Whether the device can provide the mediaType.

HasMediaType(AVMediaTypes)

Whether the device can provide the mediaType.

public bool HasMediaType (AVFoundation.AVMediaTypes mediaType);
member this.HasMediaType : AVFoundation.AVMediaTypes -> bool

Parameters

mediaType
AVMediaTypes

The media type to check.

Returns

Applies to

HasMediaType(String)

Whether the device can provide the mediaType.

[Foundation.Export("hasMediaType:")]
public virtual bool HasMediaType (string mediaType);
abstract member HasMediaType : string -> bool
override this.HasMediaType : string -> bool

Parameters

mediaType
String

The media type to check.

Returns

Attributes

Applies to