android.media
Class RemoteControlClient
java.lang.Object
android.media.RemoteControlClient
public class RemoteControlClient
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PLAYSTATE_STOPPED
public static final int PLAYSTATE_STOPPED
- See Also:
- Constant Field Values
PLAYSTATE_PAUSED
public static final int PLAYSTATE_PAUSED
- See Also:
- Constant Field Values
PLAYSTATE_PLAYING
public static final int PLAYSTATE_PLAYING
- See Also:
- Constant Field Values
PLAYSTATE_FAST_FORWARDING
public static final int PLAYSTATE_FAST_FORWARDING
- See Also:
- Constant Field Values
PLAYSTATE_REWINDING
public static final int PLAYSTATE_REWINDING
- See Also:
- Constant Field Values
PLAYSTATE_SKIPPING_FORWARDS
public static final int PLAYSTATE_SKIPPING_FORWARDS
- See Also:
- Constant Field Values
PLAYSTATE_SKIPPING_BACKWARDS
public static final int PLAYSTATE_SKIPPING_BACKWARDS
- See Also:
- Constant Field Values
PLAYSTATE_BUFFERING
public static final int PLAYSTATE_BUFFERING
- See Also:
- Constant Field Values
PLAYSTATE_ERROR
public static final int PLAYSTATE_ERROR
- See Also:
- Constant Field Values
FLAG_KEY_MEDIA_PREVIOUS
public static final int FLAG_KEY_MEDIA_PREVIOUS
- See Also:
- Constant Field Values
FLAG_KEY_MEDIA_REWIND
public static final int FLAG_KEY_MEDIA_REWIND
- See Also:
- Constant Field Values
FLAG_KEY_MEDIA_PLAY
public static final int FLAG_KEY_MEDIA_PLAY
- See Also:
- Constant Field Values
FLAG_KEY_MEDIA_PLAY_PAUSE
public static final int FLAG_KEY_MEDIA_PLAY_PAUSE
- See Also:
- Constant Field Values
FLAG_KEY_MEDIA_PAUSE
public static final int FLAG_KEY_MEDIA_PAUSE
- See Also:
- Constant Field Values
FLAG_KEY_MEDIA_STOP
public static final int FLAG_KEY_MEDIA_STOP
- See Also:
- Constant Field Values
FLAG_KEY_MEDIA_FAST_FORWARD
public static final int FLAG_KEY_MEDIA_FAST_FORWARD
- See Also:
- Constant Field Values
FLAG_KEY_MEDIA_NEXT
public static final int FLAG_KEY_MEDIA_NEXT
- See Also:
- Constant Field Values
RemoteControlClient
public RemoteControlClient(PendingIntent mediaButtonIntent)
RemoteControlClient
public RemoteControlClient(PendingIntent mediaButtonIntent,
Looper looper)
editMetadata
public RemoteControlClient.MetadataEditor editMetadata(boolean startEmpty)
setPlaybackState
public void setPlaybackState(int state)
setTransportControlFlags
public void setTransportControlFlags(int transportControlFlags)
Copyright © 2008-2012. All Rights Reserved.