queryCameraInfo
Requires:
@ray-js/lock-sdk≥1.2.0
Method signature
queryCameraInfo()Description
Query camera info
Parameters
None
Return Value
Type: Promise<CameraDpInfo>
None
CameraDpInfo
| Property | Type | Description |
|---|---|---|
status | number | Status |
| Multi-camera position info |
Referenced Types
interface
CameraItem| Property | Type | Description |
|---|---|---|
index | number | Position after switching |
type | number | Position type 0x01-Primary, 0x02-Secondary, 0x03-Front, 0x04-Rear, 0x05-Top, 0x06-Bottom, 0x07-Left, 0x08-Right. |