ParaScreenController.SetScreenMode

Declaration

public void SetScreenMode(int mode)

Parameter

Parameter NameParameter Description
modeThe 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:

0Video mode
1Image mode
2Camera mode
3Canvas mode (not available yet)