FileDocCategorySizeDatePackage
ISessionController.javaAPI DocAndroid 5.1 API30179Sat Mar 14 05:48:10 GMT 2015android.media.session

ISessionController

public interface ISessionController implements android.os.IInterface
Interface to a MediaSession in the system.
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.media.MediaMetadatagetMetadata()

public java.lang.StringgetPackageName()

public android.media.session.PlaybackStategetPlaybackState()

public android.content.pm.ParceledListSlicegetQueue()

public java.lang.CharSequencegetQueueTitle()

public intgetRatingType()

public java.lang.StringgetTag()

public android.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.media.Rating rating)

public voidregisterCallbackListener(android.media.session.ISessionControllerCallback cb)

public voidrewind()

public voidseekTo(long pos)

public voidsendCommand(java.lang.String command, android.os.Bundle args, android.os.ResultReceiver 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.media.session.ISessionControllerCallback cb)