Agora Java API Reference for Android

Public Member Functions | List of all members
io.agora.mediaplayer.data.MediaPlayerSource Class Reference

Information related to the media file to be played and the playback scenario configurations. More...

## Public Member Functions
String | getUrl ()
String | getUri ()
long | getStartPos ()
boolean | isEnableCache ()
boolean | isEnableMultiAudioTrack ()
void | setUrl (String url)
void | setUri (String uri)
void | setStartPos (long startPos)
void | setEnableCache (boolean enableCache)
void | setEnableMultiAudioTrack (boolean enableMultiAudioTrack)
void | setAutoPlay (boolean autoPlay)
boolean | isAutoPlay ()
Boolean | isAgoraSource ()
Boolean | isLiveSource ()
void | enableAgoraSource (boolean isAgoraSource)
void | enableLiveSource (boolean isLiveSource)
IMediaPlayerCustomDataProvider | getProvider ()
void | setProvider (IMediaPlayerCustomDataProvider provider)
String | toString ()

## Detailed Description

Information related to the media file to be played and the playback scenario configurations.