Agora Java API Reference for Android
Static Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.Constants.ScreenScenarioType Enum Reference

Static Public Member Functions

static int getValue (ScreenScenarioType type)
 

Public Attributes

 SCREEN_SCENARIO_DOCUMENT =(1)
 
 SCREEN_SCENARIO_GAMING =(2)
 
 SCREEN_SCENARIO_VIDEO =(3)
 

Detailed Description

The screen sharing scenario.

Member Data Documentation

◆ SCREEN_SCENARIO_DOCUMENT

io.agora.rtc2.Constants.ScreenScenarioType.SCREEN_SCENARIO_DOCUMENT =(1)

1: Document. This scenario prioritizes the video quality of screen sharing and reduces the latency of the shared video for the receiver. If you share documents, slides, and tables, you can set this scenario.

◆ SCREEN_SCENARIO_GAMING

io.agora.rtc2.Constants.ScreenScenarioType.SCREEN_SCENARIO_GAMING =(2)

2: Game. This scenario prioritizes the smoothness of screen sharing. If you share games, you can set this scenario.

◆ SCREEN_SCENARIO_VIDEO

io.agora.rtc2.Constants.ScreenScenarioType.SCREEN_SCENARIO_VIDEO =(3)

3: (Default) Video. This scenario prioritizes the smoothness of screen sharing. If you share movies or live videos, you can set this scenario.