Agora Java API Reference for Android
Public Member Functions | Protected Member Functions | List of all members
io.agora.rte.StreamAudioVolumeInfo Class Reference

Audio volume information for a stream. More...

Public Member Functions

 StreamAudioVolumeInfo (long nativeHandle)
 
long getNativeHandle ()
 
String channelName ()
 Gets the RTC channel name for this stream. More...
 
String streamId ()
 Gets the stream identifier. More...
 
int volume ()
 Gets the audio volume level for this stream. More...
 

Protected Member Functions

void finalize ()
 

Detailed Description

Audio volume information for a stream.

Since
v4.5.3

This object contains the audio volume information for a stream, including the channel it belongs to, the stream id (which corresponds to the RTC uid), and the current volume level.

Member Function Documentation

◆ channelName()

String io.agora.rte.StreamAudioVolumeInfo.channelName ( )

Gets the RTC channel name for this stream.

Since
v4.5.3
Returns
The channel name.

◆ streamId()

String io.agora.rte.StreamAudioVolumeInfo.streamId ( )

Gets the stream identifier.

Since
v4.5.3
Returns
The stream id.

◆ volume()

int io.agora.rte.StreamAudioVolumeInfo.volume ( )

Gets the audio volume level for this stream.

Since
v4.5.3
Returns
The volume. The value range is [0, 255].