AliyunVideoSourceOrientation
@protocol AliyunVideoSourceOrientation <NSObject>
* The protocol of rotate follow the device orientation API_AVAILABLE(3.22.0)
-
* Calculate the roate to the orientation API_AVAILABLE(3.22.0)
Declaration
Objective-C
- (int)rotateToOrientation:(id)orientation;
-
* API_AVAILABLE(3.22.0) current rotate for the direction of gravity be used for face facial recognition
Declaration
Objective-C
- (int)rotateToGravity;
-
* update the direction of gravity API_AVAILABLE(3.22.0)
Declaration
Objective-C
- (void)updateGravityRotate:(id)orientation;