AliyunVideoSourceOrientation
@protocol AliyunVideoSourceOrientation <NSObject>
根据机器方向判断旋转的协议 API_AVAILABLE(3.22.0)
-
计算旋转到对应方向的角度 API_AVAILABLE(3.22.0)
Declaration
Objective-C
- (int)rotateToOrientation:(id)orientation;
-
API_AVAILABLE(3.22.0) 当前重力方向的旋转角度 用于人脸识别
Declaration
Objective-C
- (int)rotateToGravity;
-
更新重力方向 API_AVAILABLE(3.22.0)
Declaration
Objective-C
- (void)updateGravityRotate:(id)orientation;