File
Doc
Category
Size
Date
Package
MediaSession.java
API Doc
Android 5.1 API
5041
Sat Mar 14 14:09:40 GMT 2015
android.media.session
MediaSession
java.lang.Object
public final class MediaSession extends Object
Fields Summary
public static final int
FLAG_HANDLES_MEDIA_BUTTONS
public static final int
FLAG_HANDLES_TRANSPORT_CONTROLS
Constructors Summary
public MediaSession
(
android.content.Context
context,
String
tag)
CREATOR = null; throw new RuntimeException("Stub!");
Methods Summary
public
android.media.session.MediaController
getController
()
throw new RuntimeException("Stub!");
public
android.media.session.MediaSession$Token
getSessionToken
()
throw new RuntimeException("Stub!");
public
boolean
isActive
()
throw new RuntimeException("Stub!");
public void
release
()
throw new RuntimeException("Stub!");
public void
sendSessionEvent
(
java.lang.String
event,
android.os.Bundle
extras)
throw new RuntimeException("Stub!");
public void
setActive
(
boolean
active)
throw new RuntimeException("Stub!");
public void
setCallback
(
android.media.session.MediaSession$Callback
callback)
throw new RuntimeException("Stub!");
public void
setCallback
(
android.media.session.MediaSession$Callback
callback,
android.os.Handler
handler)
throw new RuntimeException("Stub!");
public void
setExtras
(
android.os.Bundle
extras)
throw new RuntimeException("Stub!");
public void
setFlags
(
int
flags)
throw new RuntimeException("Stub!");
public void
setMediaButtonReceiver
(
android.app.PendingIntent
mbr)
throw new RuntimeException("Stub!");
public void
setMetadata
(
android.media.MediaMetadata
metadata)
throw new RuntimeException("Stub!");
public void
setPlaybackState
(
android.media.session.PlaybackState
state)
throw new RuntimeException("Stub!");
public void
setPlaybackToLocal
(
android.media.AudioAttributes
attributes)
throw new RuntimeException("Stub!");
public void
setPlaybackToRemote
(
android.media.VolumeProvider
volumeProvider)
throw new RuntimeException("Stub!");
public void
setQueue
(
java.util.List
queue)
throw new RuntimeException("Stub!");
public void
setQueueTitle
(
java.lang.CharSequence
title)
throw new RuntimeException("Stub!");
public void
setRatingType
(
int
type)
throw new RuntimeException("Stub!");
public void
setSessionActivity
(
android.app.PendingIntent
pi)
throw new RuntimeException("Stub!");
Java Code Source