subscript(_:)
Returns data captured by the specified capture output, using subscript syntax.
Declaration
subscript(key: AVCaptureOutput) -> AVCaptureSynchronizedData? { get }Parameters
- key:
The capture output for which to retrieve data.
Return Value
A synchronized data object corresponding to the specified capture output.
Discussion
This call is equivalent to the synchronizedData(for:) method, but allows subscript syntax.