AVCaptureOutput.ConnectionFromMediaType(NSString) Method

Definition

Creates a AVCaptureConnection for the avMediaType.

[Foundation.Export("connectionWithMediaType:")]
public virtual AVFoundation.AVCaptureConnection ConnectionFromMediaType (Foundation.NSString avMediaType);
abstract member ConnectionFromMediaType : Foundation.NSString -> AVFoundation.AVCaptureConnection
override this.ConnectionFromMediaType : Foundation.NSString -> AVFoundation.AVCaptureConnection

Parameters

avMediaType
NSString

Should be one of the constants defined in AVMediaType.

Returns

Attributes

Applies to