File
Doc
Category
Size
Date
Package
ISessionController.java
API Doc
Android 5.1 API
30179
Sat Mar 14 05:48:10 GMT 2015
android.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 void
adjustVolume
(
int
direction,
int
flags,
java.lang.String
packageName)
public void
fastForward
()
public
android.os.Bundle
getExtras
()
public
long
getFlags
()
public
android.app.PendingIntent
getLaunchPendingIntent
()
public
android.media.MediaMetadata
getMetadata
()
public
java.lang.String
getPackageName
()
public
android.media.session.PlaybackState
getPlaybackState
()
public
android.content.pm.ParceledListSlice
getQueue
()
public
java.lang.CharSequence
getQueueTitle
()
public
int
getRatingType
()
public
java.lang.String
getTag
()
public
android.media.session.ParcelableVolumeInfo
getVolumeAttributes
()
public
boolean
isTransportControlEnabled
()
public void
next
()
public void
pause
()
public void
play
()
public void
playFromMediaId
(
java.lang.String
uri,
android.os.Bundle
extras)
public void
playFromSearch
(
java.lang.String
string,
android.os.Bundle
extras)
public void
previous
()
public void
rate
(
android.media.Rating
rating)
public void
registerCallbackListener
(
android.media.session.ISessionControllerCallback
cb)
public void
rewind
()
public void
seekTo
(
long
pos)
public void
sendCommand
(
java.lang.String
command,
android.os.Bundle
args,
android.os.ResultReceiver
cb)
public void
sendCustomAction
(
java.lang.String
action,
android.os.Bundle
args)
public
boolean
sendMediaButton
(
android.view.KeyEvent
mediaButton)
public void
setVolumeTo
(
int
value,
int
flags,
java.lang.String
packageName)
public void
skipToQueueItem
(
long
id)
public void
stop
()
public void
unregisterCallbackListener
(
android.media.session.ISessionControllerCallback
cb)
Java Code Source