Files
frameworks_base/media/java/android/service/media/IMediaBrowserServiceCallbacks.aidl
Sungsoo Lim 6b7bda0bc3 MediaBrowser: Make support lib v23.x available in N release
A workaround change for supporting support lib 23.x in N release.
This change should be reverted in some point before O release.

Bug: 28572934
Change-Id: I7e6afc0293688e425736bc93da0ea10233c07e9a
2016-05-07 17:45:40 +09:00

28 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Copyright 2014 Google Inc. All Rights Reserved.
package android.service.media;
import android.content.pm.ParceledListSlice;
import android.graphics.Bitmap;
import android.media.session.MediaSession;
import android.os.Bundle;
/**
* Media API allows clients to browse through hierarchy of a users media collection,
* playback a specific media entry and interact with the now playing queue.
* @hide
*/
oneway interface IMediaBrowserServiceCallbacks {
/**
* Invoked when the connected has been established.
* @param root The root media id for browsing.
* @param session The {@link MediaSession.Token media session token} that can be used to control
* the playback of the media app.
* @param extra Extras returned by the media service.
*/
void onConnect(String root, in MediaSession.Token session, in Bundle extras);
void onConnectFailed();
void onLoadChildren(String mediaId, in ParceledListSlice list);
void onLoadChildrenWithOptions(String mediaId, in ParceledListSlice list, in Bundle options);
}