![]() |
AliyunPlayer v7.10.0
Aliyun Player API Reference Manual for iOS Platforms
|
Delegate protocol for VR player. More...
#include "AliVRPlayerDelegate.h"
Instance Methods | |
| (void) | - gestureAngleChanged: |
| Called when the gesture-controlled angle changes. | |
| (void) | - motionSensorAngleChanged: |
| Called when the motion sensor angle changes. | |
Delegate protocol for VR player.
This protocol defines callback methods for angle changes during VR player interaction.
All methods are optional (@optional).
|
optionalrequired |
Called when the gesture-controlled angle changes.
This method is invoked when the user controls the VR viewing angle via gestures (e.g., panning), and the horizontal angle changes.
| gestureAngleX | The horizontal angle value controlled by gestures |
|
optional |
Called when the motion sensor angle changes.
This method is invoked when the device's motion sensor (e.g., gyroscope) detects a change in horizontal angle.
| sensorAngleX | The horizontal angle value detected by the sensor |