diff options
author | Andreas Huber <andih@google.com> | 2010-02-12 12:35:58 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-02-12 12:44:10 -0800 |
commit | 4e92c7efc68b5d7635a32dbd283ab8558ad9bdd6 (patch) | |
tree | 6a214e4fd02b792810f73e881d6312685ee1d722 /include/media/IMediaPlayer.h | |
parent | 328901bdc7c00ab361c5ef16d0d69c94a0458e95 (diff) | |
download | frameworks_av-4e92c7efc68b5d7635a32dbd283ab8558ad9bdd6.zip frameworks_av-4e92c7efc68b5d7635a32dbd283ab8558ad9bdd6.tar.gz frameworks_av-4e92c7efc68b5d7635a32dbd283ab8558ad9bdd6.tar.bz2 |
New API on java's MediaPlayer to suspend/resume a session.
related-to-bug: 2231576
Diffstat (limited to 'include/media/IMediaPlayer.h')
-rw-r--r-- | include/media/IMediaPlayer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/IMediaPlayer.h b/include/media/IMediaPlayer.h index b6f654f..2619691 100644 --- a/include/media/IMediaPlayer.h +++ b/include/media/IMediaPlayer.h @@ -46,6 +46,8 @@ public: virtual status_t setAudioStreamType(int type) = 0; virtual status_t setLooping(int loop) = 0; virtual status_t setVolume(float leftVolume, float rightVolume) = 0; + virtual status_t suspend() = 0; + virtual status_t resume() = 0; // Invoke a generic method on the player by using opaque parcels // for the request and reply. |