AVCaptureConnection
class AVCaptureConnection : NSObject
-
Returns the capture connection for the desired media type, otherwise nil.
- Parameters:
- mediaType: Specified media type. (i.e. AVMediaTypeVideo, AVMediaTypeAudio, etc.)
- connections: Array of
AVCaptureConnection
objects to search
Returns
Capture connection for the desired media type, otherwise nilDeclaration
Swift
public class func connection(withMediaType mediaType: AVMediaType, fromConnections connections: [AVCaptureConnection]) -> AVCaptureConnection?
- Parameters: