TVICameraSourceOrientationDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TVICameraSourceOrientationTracker.h |
– trackerOrientationDidChange:
required method
A callback that should be fired whenever the tracker’s orientation changes.
- (void)trackerOrientationDidChange:(AVCaptureVideoOrientation)orientation
Parameters
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.
Declared In
TVICameraSourceOrientationTracker.h