AVCaptureOutput.ConnectionFromMediaType(NSString) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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