Methods Summary |
---|
public static void | adjustVolume(java.lang.Object controllerObj, int direction, int flags)
((MediaController) controllerObj).adjustVolume(direction, flags);
|
public static java.lang.Object | createCallback(android.support.v4.media.session.MediaControllerCompatApi21$Callback callback)
return new CallbackProxy<Callback>(callback);
|
public static boolean | dispatchMediaButtonEvent(java.lang.Object controllerObj, android.view.KeyEvent event)
return ((MediaController) controllerObj).dispatchMediaButtonEvent(event);
|
public static java.lang.Object | fromToken(android.content.Context context, java.lang.Object sessionToken)
return new MediaController(context, (MediaSession.Token) sessionToken);
|
public static android.os.Bundle | getExtras(java.lang.Object controllerObj)
return ((MediaController) controllerObj).getExtras();
|
public static long | getFlags(java.lang.Object controllerObj)
return ((MediaController) controllerObj).getFlags();
|
public static java.lang.Object | getMetadata(java.lang.Object controllerObj)
return ((MediaController)controllerObj).getMetadata();
|
public static java.lang.String | getPackageName(java.lang.Object controllerObj)
return ((MediaController) controllerObj).getPackageName();
|
public static java.lang.Object | getPlaybackInfo(java.lang.Object controllerObj)
return ((MediaController) controllerObj).getPlaybackInfo();
|
public static java.lang.Object | getPlaybackState(java.lang.Object controllerObj)
return ((MediaController)controllerObj).getPlaybackState();
|
public static java.util.List | getQueue(java.lang.Object controllerObj)
List<MediaSession.QueueItem> queue = ((MediaController) controllerObj).getQueue();
if (queue == null) {
return null;
}
List<Object> queueObjs = new ArrayList<Object>(queue);
return queueObjs;
|
public static java.lang.CharSequence | getQueueTitle(java.lang.Object controllerObj)
return ((MediaController) controllerObj).getQueueTitle();
|
public static int | getRatingType(java.lang.Object controllerObj)
return ((MediaController) controllerObj).getRatingType();
|
public static android.app.PendingIntent | getSessionActivity(java.lang.Object controllerObj)
return ((MediaController) controllerObj).getSessionActivity();
|
public static java.lang.Object | getTransportControls(java.lang.Object controllerObj)
return ((MediaController)controllerObj).getTransportControls();
|
public static void | registerCallback(java.lang.Object controllerObj, java.lang.Object callbackObj, android.os.Handler handler)
((MediaController) controllerObj).registerCallback(
(MediaController.Callback)callbackObj, handler);
|
public static void | sendCommand(java.lang.Object controllerObj, java.lang.String command, android.os.Bundle params, android.os.ResultReceiver cb)
((MediaController) controllerObj).sendCommand(command, params, cb);
|
public static void | setVolumeTo(java.lang.Object controllerObj, int value, int flags)
((MediaController) controllerObj).setVolumeTo(value, flags);
|
public static void | unregisterCallback(java.lang.Object controllerObj, java.lang.Object callbackObj)
((MediaController) controllerObj)
.unregisterCallback((MediaController.Callback) callbackObj);
|