|
Agora Java API Reference for Android
|
Public Member Functions | |
| PlayerUpdatedInfo (String internalPlayerUuid, String deviceId, long videoHeight, long videoWidth, long audioSampleRate, long audioChannels, long audioBitsPerSample) | |
| PlayerUpdatedInfo (String internalPlayerUuid, String deviceId) | |
| void | setInternalPlayerUuid (String internalPlayerUuid) |
| void | setDeviceId (String deviceId) |
| void | setVideoHeight (long videoHeight) |
| void | setVideoWidth (long videoWidth) |
| void | setAudioSampleRate (long audioSampleRate) |
| void | setAudioChannels (long audioChannels) |
| void | setAudioBitsPerSample (long audioBitsPerSample) |
| String | getInternalPlayerUuid () |
| Get the internal player UUID. More... | |
| String | getDeviceId () |
| Get the device ID. More... | |
| long | getVideoWidth () |
| Get the video width. More... | |
| long | getVideoHeight () |
| Get the video height. More... | |
| long | getAudioSampleRate () |
| Get the audio sample rate. More... | |
| long | getaudioChannels () |
| Get the audio channels. More... | |
| long | getAudioBitsPerSample () |
| Get the audio bits per sample. More... | |
| String | toString () |
Public Attributes | |
| String | internalPlayerUuid |
| String | deviceId |
| long | videoHeight |
| long | videoWidth |
| long | audioSampleRate |
| long | audioChannels |
| long | audioBitsPerSample |
Call back PlayerUpdatedInfo to the user, when some information of the media player is updated.
| void io.agora.mediaplayer.data.PlayerUpdatedInfo.setInternalPlayerUuid | ( | String | internalPlayerUuid | ) |
Set the internal player UUID.
@technical preview
| internalPlayerUuid | The internal player UUID. |
| void io.agora.mediaplayer.data.PlayerUpdatedInfo.setDeviceId | ( | String | deviceId | ) |
Set the device ID.
@technical preview
| deviceId | The device ID. |
| void io.agora.mediaplayer.data.PlayerUpdatedInfo.setVideoHeight | ( | long | videoHeight | ) |
Set the video height.
@technical preview
| videoHeight | The video height. |
| void io.agora.mediaplayer.data.PlayerUpdatedInfo.setVideoWidth | ( | long | videoWidth | ) |
Set the video width.
@technical preview
| videoWidth | The video width. |
| void io.agora.mediaplayer.data.PlayerUpdatedInfo.setAudioSampleRate | ( | long | audioSampleRate | ) |
Set the audio sample rate.
@technical preview
| audioSampleRate | The audio sample rate. |
| void io.agora.mediaplayer.data.PlayerUpdatedInfo.setAudioChannels | ( | long | audioChannels | ) |
Set the audio channels.
@technical preview
| audioChannels | The audio channels. |
| void io.agora.mediaplayer.data.PlayerUpdatedInfo.setAudioBitsPerSample | ( | long | audioBitsPerSample | ) |
Set the audio bits per sample.
@technical preview
| audioBitsPerSample | The audio bits per sample. |
| String io.agora.mediaplayer.data.PlayerUpdatedInfo.getInternalPlayerUuid | ( | ) |
Get the internal player UUID.
@technical preview
| String io.agora.mediaplayer.data.PlayerUpdatedInfo.getDeviceId | ( | ) |
Get the device ID.
@technical preview
| long io.agora.mediaplayer.data.PlayerUpdatedInfo.getVideoWidth | ( | ) |
Get the video width.
@technical preview
| long io.agora.mediaplayer.data.PlayerUpdatedInfo.getVideoHeight | ( | ) |
Get the video height.
@technical preview
| long io.agora.mediaplayer.data.PlayerUpdatedInfo.getAudioSampleRate | ( | ) |
Get the audio sample rate.
@technical preview
| long io.agora.mediaplayer.data.PlayerUpdatedInfo.getaudioChannels | ( | ) |
Get the audio channels.
@technical preview
| long io.agora.mediaplayer.data.PlayerUpdatedInfo.getAudioBitsPerSample | ( | ) |
Get the audio bits per sample.
@technical preview
| String io.agora.mediaplayer.data.PlayerUpdatedInfo.internalPlayerUuid |
@technical preview
| String io.agora.mediaplayer.data.PlayerUpdatedInfo.deviceId |
The device ID of the playback device.
| long io.agora.mediaplayer.data.PlayerUpdatedInfo.videoHeight |
Video height.
| long io.agora.mediaplayer.data.PlayerUpdatedInfo.videoWidth |
Video width.
| long io.agora.mediaplayer.data.PlayerUpdatedInfo.audioSampleRate |
Audio sample rate.
| long io.agora.mediaplayer.data.PlayerUpdatedInfo.audioChannels |
The audio channel number.
| long io.agora.mediaplayer.data.PlayerUpdatedInfo.audioBitsPerSample |
The bit number of each audio sample.
1.8.18