getMediaRotate
Requires:
@ray-js/lock-sdk≥1.0.0
Method signature
getMediaRotate()Description
Get the device camera rotation angle
Parameters
None
Return Value
Type: MediaRotate
Camera rotation angle (parsed from device/config)
MediaRotate
| Property | Type | Description |
|---|---|---|
imageAngle | number | Image rotation angle |
videoAngle | number | Video rotation angle |