Agora Java API Reference for Android

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

## Public Member Functions
int | getValue ()

## Static Public Member Functions
static int | getValue (AudioSourceType type)
static AudioSourceType | fromInt (int v)

## Public Attributes
| AUDIO_SOURCE_MICROPHONE =(0)
| AUDIO_SOURCE_CUSTOM =(1)
| AUDIO_SOURCE_MEDIA_PLAYER =(2)
| AUDIO_SOURCE_LOOPBACK_RECORDING =(3)
| AUDIO_SOURCE_MIXED_STREAM =(4)
| AUDIO_SOURCE_REMOTE_USER =(5)
| AUDIO_SOURCE_REMOTE_CHANNEL =(6)
| AUDIO_SOURCE_UNKNOWN =(100)

## Detailed Description

Audio source types definition.

## Member Data Documentation

## ◆ AUDIO_SOURCE_MICROPHONE

io.agora.rtc2.Constants.AudioSourceType.AUDIO_SOURCE_MICROPHONE =(0)

Audio captured by the microphone.

## ◆ AUDIO_SOURCE_CUSTOM

io.agora.rtc2.Constants.AudioSourceType.AUDIO_SOURCE_CUSTOM =(1)

Audio generated by the customer.

## ◆ AUDIO_SOURCE_MEDIA_PLAYER

io.agora.rtc2.Constants.AudioSourceType.AUDIO_SOURCE_MEDIA_PLAYER =(2)

Audio of media player.

## ◆ AUDIO_SOURCE_LOOPBACK_RECORDING

io.agora.rtc2.Constants.AudioSourceType.AUDIO_SOURCE_LOOPBACK_RECORDING =(3)

Audio of loopback recording.

## ◆ AUDIO_SOURCE_MIXED_STREAM

io.agora.rtc2.Constants.AudioSourceType.AUDIO_SOURCE_MIXED_STREAM =(4)

Audio of mixed stream in local client.

## ◆ AUDIO_SOURCE_REMOTE_USER

io.agora.rtc2.Constants.AudioSourceType.AUDIO_SOURCE_REMOTE_USER =(5)

Remote audio received of per user from network.

## ◆ AUDIO_SOURCE_REMOTE_CHANNEL

io.agora.rtc2.Constants.AudioSourceType.AUDIO_SOURCE_REMOTE_CHANNEL =(6)

Remote audio received of per channel from network.

## ◆ AUDIO_SOURCE_UNKNOWN

io.agora.rtc2.Constants.AudioSourceType.AUDIO_SOURCE_UNKNOWN =(100)

Not define.