Declaration
public void SetScreenMode(int mode)
Parameter
Parameter Name | Parameter Description |
---|---|
mode | The ID of the playback mode to be set |
Description
Sets the playback mode of the screen control component. This API can be called by the Master. Other players can call it only when the Master allows them to control the screen control component.
The function parameter indicates the index of the playback mode. It is an integer ranging from 0 to 3, which is described as follows:
0 | Video mode |
1 | Image mode |
2 | Camera mode |
3 | Canvas mode (not available yet) |