TVICameraSourceOrientationTracker Protocol Reference

Conforms to NSObject
Declared in TVICameraSourceOrientationTracker.h

  delegate required method

The tracker’s delegate, conforming to TVICameraSourceOrientationDelegate.

@property (nonatomic, weak, nullable) id<TVICameraSourceOrientationDelegate> delegate

Discussion

This property is set on the calling thread as part of the invocation for -[TVICameraSource startCaptureWithDevice:].

Declared In

TVICameraSourceOrientationTracker.h

  orientation required method

The currently observed orientation, in the form of AVCaptureVideoOrientation. The value is used by TVICameraSource to configure its internal AVCaptureVideoDataOutput and AVCaptureVideoPreviewLayer connections. This property is deprecated in favor of rotationAngle.

@property (nonatomic, assign, readonly) AVCaptureVideoOrientation orientation

Declared In

TVICameraSourceOrientationTracker.h

  rotationAngle required method

The currently observed video rotation angle, in the form of CGFloat. The value is used by TVICameraSource to configure its internal AVCaptureVideoDataOutput and AVCaptureVideoPreviewLayer connections.

@property (nonatomic, assign, readonly) CGFloat rotationAngle

Declared In

TVICameraSourceOrientationTracker.h