Agora Java API Reference for Android

Static Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.Constants.MediaType Enum Reference

## Static Public Member Functions
static int | getValue (MediaType type)

## Public Attributes
| NONE =(0)
| AUDIO_ONLY =(1)
| VIDEO_ONLY =(2)
| AUDIO_AND_VIDEO =(3)

## Detailed Description

Media type.

## Member Data Documentation

## ◆ NONE

io.agora.rtc2.Constants.MediaType.NONE =(0)

No audio and video.

## ◆ AUDIO_ONLY

io.agora.rtc2.Constants.MediaType.AUDIO_ONLY =(1)

Audio only.

## ◆ VIDEO_ONLY

io.agora.rtc2.Constants.MediaType.VIDEO_ONLY =(2)

Video only.

## ◆ AUDIO_AND_VIDEO

io.agora.rtc2.Constants.MediaType.AUDIO_AND_VIDEO =(3)

Audio and video.