TVICameraSourceOrientationDelegate Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | TVICameraSourceOrientationTracker.h |
– trackerOrientationDidChange:
A callback that should be fired whenever the tracker’s orientation changes.
- (void)trackerOrientationDidChange:(AVCaptureVideoOrientation)orientationParameters
orientation |
The updated orientation value. |
|---|
Discussion
This method should be called on the main thread. Calling the delegate causes TVICameraSource to enqueue an update task on its
internal AVCaptureVideoDataOutput queue, and to update the TVICameraPreviewView orientation, if present.
This method is deprecated in favor of trackerRotationAngleDidChange.
Declared In
TVICameraSourceOrientationTracker.h
– trackerRotationAngleDidChange:
A callback that should be fired whenever the tracker’s rotation angle changes.
- (void)trackerRotationAngleDidChange:(CGFloat)rotationAngleParameters
rotationAngle |
The updated rotation angle value. |
|---|
Discussion
This method should be called on the main thread. Calling the delegate causes TVICameraSource to enqueue an update task on its
internal AVCaptureVideoDataOutput queue, and to update the TVICameraPreviewView orientation, if present.
Declared In
TVICameraSourceOrientationTracker.h