FuncList | DESC |
Query whether the front camera is being used (only availiable for mobile OS). | |
Switch to the front/rear camera (only availiable for mobile OS). | |
Query whether automatic face detection is supported (only availiable for mobile OS). | |
Enable auto focus (only availiable for mobile OS). | |
Enable/Disable flash, i.e., the torch mode (only availiable for mobile OS). | |
Set the audio route (only availiable for mobile OS). |
EnumType | DESC |
Audio routing (the route via which audio is played). |
void switchCamera |
void enableCameraAutoFocus | (boolean enabled) |
void enableCameraTorch | (boolean enabled) |
void setAudioRoute |
Enum | Value | DESC |
SPEAKERPHONE | 0 | Speakerphone: The speaker at the bottom is used for playback. With relatively high volume, it is used to play music out loud. |
EARPIECE | 1 | Earpiece: The speaker at the top is used for playback. With relatively low volume, it is suitable for call scenarios that require privacy. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback