FileDocCategorySizeDatePackage
IMediaSession.javaAPI DocAndroid 5.1 API30844Sat Mar 14 04:09:28 GMT 2015android.support.v4.media.session

IMediaSession

public interface IMediaSession implements android.os.IInterface
Interface to a MediaSessionCompat. This is only used on pre-Lollipop systems.
hide

Fields Summary
Constructors Summary
Methods Summary
public voidadjustVolume(int direction, int flags, java.lang.String packageName)

public voidfastForward()

public android.os.BundlegetExtras()

public longgetFlags()

public android.app.PendingIntentgetLaunchPendingIntent()

public android.support.v4.media.MediaMetadataCompatgetMetadata()

public java.lang.StringgetPackageName()

public android.support.v4.media.session.PlaybackStateCompatgetPlaybackState()

public java.util.ListgetQueue()

public java.lang.CharSequencegetQueueTitle()

public intgetRatingType()

public java.lang.StringgetTag()

public android.support.v4.media.session.ParcelableVolumeInfogetVolumeAttributes()

public booleanisTransportControlEnabled()

public voidnext()

public voidpause()

public voidplay()

public voidplayFromMediaId(java.lang.String uri, android.os.Bundle extras)

public voidplayFromSearch(java.lang.String string, android.os.Bundle extras)

public voidprevious()

public voidrate(android.support.v4.media.RatingCompat rating)

public voidregisterCallbackListener(android.support.v4.media.session.IMediaControllerCallback cb)

public voidrewind()

public voidseekTo(long pos)

public voidsendCommand(java.lang.String command, android.os.Bundle args, android.support.v4.media.session.MediaSessionCompat.ResultReceiverWrapper cb)

public voidsendCustomAction(java.lang.String action, android.os.Bundle args)

public booleansendMediaButton(android.view.KeyEvent mediaButton)

public voidsetVolumeTo(int value, int flags, java.lang.String packageName)

public voidskipToQueueItem(long id)

public voidstop()

public voidunregisterCallbackListener(android.support.v4.media.session.IMediaControllerCallback cb)