File
Doc
Category
Size
Date
Package
IMediaSession.java
API Doc
Android 5.1 API
30844
Sat Mar 14 04:09:28 GMT 2015
android.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 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.support.v4.media.MediaMetadataCompat
getMetadata
()
public
java.lang.String
getPackageName
()
public
android.support.v4.media.session.PlaybackStateCompat
getPlaybackState
()
public
java.util.List
getQueue
()
public
java.lang.CharSequence
getQueueTitle
()
public
int
getRatingType
()
public
java.lang.String
getTag
()
public
android.support.v4.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.support.v4.media.RatingCompat
rating)
public void
registerCallbackListener
(
android.support.v4.media.session.IMediaControllerCallback
cb)
public void
rewind
()
public void
seekTo
(
long
pos)
public void
sendCommand
(
java.lang.String
command,
android.os.Bundle
args,
android.support.v4.media.session.MediaSessionCompat.ResultReceiverWrapper
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.support.v4.media.session.IMediaControllerCallback
cb)
Java Code Source