File
Doc
Category
Size
Date
Package
ISession.java
API Doc
Android 5.1 API
16554
Sat Mar 14 05:48:10 GMT 2015
android.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 void
destroy
()
public
android.media.session.ISessionController
getController
()
public void
sendEvent
(
java.lang.String
event,
android.os.Bundle
data)
public void
setActive
(
boolean
active)
public void
setCurrentVolume
(
int
currentVolume)
public void
setExtras
(
android.os.Bundle
extras)
public void
setFlags
(
int
flags)
public void
setLaunchPendingIntent
(
android.app.PendingIntent
pi)
public void
setMediaButtonReceiver
(
android.app.PendingIntent
mbr)
public void
setMetadata
(
android.media.MediaMetadata
metadata)
public void
setPlaybackState
(
android.media.session.PlaybackState
state)
public void
setPlaybackToLocal
(
android.media.AudioAttributes
attributes)
public void
setPlaybackToRemote
(
int
control,
int
max)
public void
setQueue
(
android.content.pm.ParceledListSlice
queue)
public void
setQueueTitle
(
java.lang.CharSequence
title)
public void
setRatingType
(
int
type)
Java Code Source