Added in API level 1
MediaPlayerControl
interface MediaPlayerControl
| android.widget.MediaController.MediaPlayerControl |
Summary
| Public methods | |
|---|---|
| abstract Boolean |
canPause() |
| abstract Boolean | |
| abstract Boolean | |
| abstract Int |
Get the audio session id for the player used by this VideoView. |
| abstract Int | |
| abstract Int | |
| abstract Int | |
| abstract Boolean | |
| abstract Unit |
pause() |
| abstract Unit | |
| abstract Unit |
start() |
Public methods
getAudioSessionId
Added in API level 18
abstract fun getAudioSessionId(): Int
Get the audio session id for the player used by this VideoView. This can be used to apply audio effects to the audio track of a video.
| Return | |
|---|---|
Int |
The audio session, or 0 if there was an error. |