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

ISession

public interface ISession implements android.os.IInterface
Interface to a MediaSession in the system.
hide

Fields Summary
Constructors Summary
Methods Summary
public voiddestroy()

public android.media.session.ISessionControllergetController()

public voidsendEvent(java.lang.String event, android.os.Bundle data)

public voidsetActive(boolean active)

public voidsetCurrentVolume(int currentVolume)

public voidsetExtras(android.os.Bundle extras)

public voidsetFlags(int flags)

public voidsetLaunchPendingIntent(android.app.PendingIntent pi)

public voidsetMediaButtonReceiver(android.app.PendingIntent mbr)

public voidsetMetadata(android.media.MediaMetadata metadata)

public voidsetPlaybackState(android.media.session.PlaybackState state)

public voidsetPlaybackToLocal(android.media.AudioAttributes attributes)

public voidsetPlaybackToRemote(int control, int max)

public voidsetQueue(android.content.pm.ParceledListSlice queue)

public voidsetQueueTitle(java.lang.CharSequence title)

public voidsetRatingType(int type)