public interface MediaPlayerListener
extends android.os.IInterface
The contract of a listener that can be called by media player service.
Modifier and Type | Interface and Description |
---|---|
static class |
MediaPlayerListener.Stub
Local-side IPC implementation stub class.
|
Modifier and Type | Method and Description |
---|---|
void |
onMediaEvent(MediaEvent event)
This method will be invoked by the media player service when a media event of interest occurs.
|
void onMediaEvent(MediaEvent event) throws android.os.RemoteException
event
- the media event.android.os.RemoteException