WTCaptureDeviceManagerDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | WTCaptureDeviceManager.h |
Overview
WTCaptureDeviceManagerDelegate provides capture device manager specific methods that can be used to react to capture devcie manager specific state changes.
– captureDeviceManager:didSwitchToActiveCaptureDevicePosition:
Called whenever the capture device position changed.
- (void)captureDeviceManager:(WTCaptureDeviceManager *)captureDeviceManager didSwitchToActiveCaptureDevicePosition:(AVCaptureDevicePosition)activeCaptureDevicePosition
Parameters
captureDeviceManager |
The capture device manger that managed the capture device position change. |
---|---|
activeCaptureDevicePosition |
The capture device position that is now active. |
Declared In
WTCaptureDeviceManager.h
– captureDeviceManager:didChangeCaptureDeviceAuthorizationStatus:
Called whenever the capture device authorization status changed.
- (void)captureDeviceManager:(WTCaptureDeviceManager *)captureDeviceManager didChangeCaptureDeviceAuthorizationStatus:(AVAuthorizationStatus)authorizationStatus
Parameters
captureDeviceManager |
The capture device manager that monitored the capture device authorization change. |
---|---|
authorizationStatus |
The authorization status that is now set. |
Declared In
WTCaptureDeviceManager.h
– captureDeviceManager:didFailToPerformOperationWithError:
Called whenever an operation could not be completed successfully.
- (void)captureDeviceManager:(WTCaptureDeviceManager *)captureDeviceManager didFailToPerformOperationWithError:(NSError *)error
Parameters
captureDeviceManager |
The capture device manager that could not complete its operation. |
---|---|
error |
The error object containing information about the failed operation. |
Declared In
WTCaptureDeviceManager.h