Home | History | Annotate | Download | only in api

Lines Matching full:media

1 package android.support.v4.media {
4 ctor public MediaBrowserCompat(android.content.Context, android.content.ComponentName, android.support.v4.media.MediaBrowserCompat.ConnectionCallback, android.os.Bundle);
8 method public void getItem(java.lang.String, android.support.v4.media.MediaBrowserCompat.ItemCallback);
11 method public android.support.v4.media.session.MediaSessionCompat.Token getSessionToken();
13 method public void search(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.SearchCallback);
14 method public void sendCustomAction(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.CustomActionCallback);
15 method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.SubscriptionCallback);
16 method public void subscribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat.SubscriptionCallback);
18 method public void unsubscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.SubscriptionCallback);
19 field public static final java.lang.String CUSTOM_ACTION_DOWNLOAD = "android.support.v4.media.action.DOWNLOAD";
20 field public static final java.lang.String CUSTOM_ACTION_REMOVE_DOWNLOADED_FILE = "android.support.v4.media.action.REMOVE_DOWNLOADED_FILE";
21 field public static final java.lang.String EXTRA_DOWNLOAD_PROGRESS = "android.media.browse.extra.DOWNLOAD_PROGRESS";
22 field public static final java.lang.String EXTRA_MEDIA_ID = "android.media.browse.extra.MEDIA_ID";
23 field public static final java.lang.String EXTRA_PAGE = "android.media.browse.extra.PAGE";
24 field public static final java.lang.String EXTRA_PAGE_SIZE = "android.media.browse.extra.PAGE_SIZE";
44 method public void onItemLoaded(android.support.v4.media.MediaBrowserCompat.MediaItem);
48 ctor public MediaBrowserCompat.MediaItem(android.support.v4.media.MediaDescriptionCompat, int);
50 method public static android.support.v4.media.MediaBrowserCompat.MediaItem fromMediaItem(java.lang.Object);
51 method public static java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem> fromMediaItemList(java.util.List<?>);
52 method public android.support.v4.media.MediaDescriptionCompat getDescription();
58 field public static final android.os.Parcelable.Creator<android.support.v4.media.MediaBrowserCompat.MediaItem> CREATOR;
66 method public void onSearchResult(java.lang.String, android.os.Bundle, java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem>);
71 method public void onChildrenLoaded(java.lang.String, java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem>);
72 method public void onChildrenLoaded(java.lang.String, java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem>, android.os.Bundle);
79 method public static android.support.v4.media.MediaDescriptionCompat fromMediaDescription(java.lang.Object);
97 field public static final android.os.Parcelable.Creator<android.support.v4.media.MediaDescriptionCompat> CREATOR;
98 field public static final java.lang.String EXTRA_BT_FOLDER_TYPE = "android.media.extra.BT_FOLDER_TYPE";
99 field public static final java.lang.String EXTRA_DOWNLOAD_STATUS = "android.media.extra.DOWNLOAD_STATUS";
107 method public android.support.v4.media.MediaDescriptionCompat build();
108 method public android.support.v4.media.MediaDescriptionCompat.Builder setDescription(java.lang.CharSequence);
109 method public android.support.v4.media.MediaDescriptionCompat.Builder setExtras(android.os.Bundle);
110 method public android.support.v4.media.MediaDescriptionCompat.Builder setIconBitmap(android.graphics.Bitmap);
111 method public android.support.v4.media.MediaDescriptionCompat.Builder setIconUri(android.net.Uri);
112 method public android.support.v4.media.MediaDescriptionCompat.Builder setMediaId(java.lang.String);
113 method public android.support.v4.media.MediaDescriptionCompat.Builder setMediaUri(android.net.Uri);
114 method public android.support.v4.media.MediaDescriptionCompat.Builder setSubtitle(java.lang.CharSequence);
115 method public android.support.v4.media.MediaDescriptionCompat.Builder setTitle(java.lang.CharSequence);
121 method public static android.support.v4.media.MediaMetadataCompat fromMediaMetadata(java.lang.Object);
124 method public android.support.v4.media.MediaDescriptionCompat getDescription();
127 method public android.support.v4.media.RatingCompat getRating(java.lang.String);
133 field public static final android.os.Parcelable.Creator<android.support.v4.media.MediaMetadataCompat> CREATOR;
134 field public static final java.lang.String METADATA_KEY_ADVERTISEMENT = "android.media.metadata.ADVERTISEMENT";
135 field public static final java.lang.String METADATA_KEY_ALBUM = "android.media.metadata.ALBUM";
136 field public static final java.lang.String METADATA_KEY_ALBUM_ART = "android.media.metadata.ALBUM_ART";
137 field public static final java.lang.String METADATA_KEY_ALBUM_ARTIST = "android.media.metadata.ALBUM_ARTIST";
138 field public static final java.lang.String METADATA_KEY_ALBUM_ART_URI = "android.media.metadata.ALBUM_ART_URI";
139 field public static final java.lang.String METADATA_KEY_ART = "android.media.metadata.ART";
140 field public static final java.lang.String METADATA_KEY_ARTIST = "android.media.metadata.ARTIST";
141 field public static final java.lang.String METADATA_KEY_ART_URI = "android.media.metadata.ART_URI";
142 field public static final java.lang.String METADATA_KEY_AUTHOR = "android.media.metadata.AUTHOR";
143 field public static final java.lang.String METADATA_KEY_BT_FOLDER_TYPE = "android.media.metadata.BT_FOLDER_TYPE";
144 field public static final java.lang.String METADATA_KEY_COMPILATION = "android.media.metadata.COMPILATION";
145 field public static final java.lang.String METADATA_KEY_COMPOSER = "android.media.metadata.COMPOSER";
146 field public static final java.lang.String METADATA_KEY_DATE = "android.media.metadata.DATE";
147 field public static final java.lang.String METADATA_KEY_DISC_NUMBER = "android.media.metadata.DISC_NUMBER";
148 field public static final java.lang.String METADATA_KEY_DISPLAY_DESCRIPTION = "android.media.metadata.DISPLAY_DESCRIPTION";
149 field public static final java.lang.String METADATA_KEY_DISPLAY_ICON = "android.media.metadata.DISPLAY_ICON";
150 field public static final java.lang.String METADATA_KEY_DISPLAY_ICON_URI = "android.media.metadata.DISPLAY_ICON_URI";
151 field public static final java.lang.String METADATA_KEY_DISPLAY_SUBTITLE = "android.media.metadata.DISPLAY_SUBTITLE";
152 field public static final java.lang.String METADATA_KEY_DISPLAY_TITLE = "android.media.metadata.DISPLAY_TITLE";
153 field public static final java.lang.String METADATA_KEY_DOWNLOAD_STATUS = "android.media.metadata.DOWNLOAD_STATUS";
154 field public static final java.lang.String METADATA_KEY_DURATION = "android.media.metadata.DURATION";
155 field public static final java.lang.String METADATA_KEY_GENRE = "android.media.metadata.GENRE";
156 field public static final java.lang.String METADATA_KEY_MEDIA_ID = "android.media.metadata.MEDIA_ID";
157 field public static final java.lang.String METADATA_KEY_MEDIA_URI = "android.media.metadata.MEDIA_URI";
158 field public static final java.lang.String METADATA_KEY_NUM_TRACKS = "android.media.metadata.NUM_TRACKS";
159 field public static final java.lang.String METADATA_KEY_RATING = "android.media.metadata.RATING";
160 field public static final java.lang.String METADATA_KEY_TITLE = "android.media.metadata.TITLE";
161 field public static final java.lang.String METADATA_KEY_TRACK_NUMBER = "android.media.metadata.TRACK_NUMBER";
162 field public static final java.lang.String METADATA_KEY_USER_RATING = "android.media.metadata.USER_RATING";
163 field public static final java.lang.String METADATA_KEY_WRITER = "android.media.metadata.WRITER";
164 field public static final java.lang.String METADATA_KEY_YEAR = "android.media.metadata.YEAR";
169 ctor public MediaMetadataCompat.Builder(android.support.v4.media.MediaMetadataCompat);
170 method public android.support.v4.media.MediaMetadataCompat build();
171 method public android.support.v4.media.MediaMetadataCompat.Builder putBitmap(java.lang.String, android.graphics.Bitmap);
172 method public android.support.v4.media.MediaMetadataCompat.Builder putLong(java.lang.String, long);
173 method public android.support.v4.media.MediaMetadataCompat.Builder putRating(java.lang.String, android.support.v4.media.RatingCompat);
174 method public android.support.v4.media.MediaMetadataCompat.Builder putString(java.lang.String, java.lang.String);
175 method public android.support.v4.media.MediaMetadataCompat.Builder putText(java.lang.String, java.lang.CharSequence);
180 method public static android.support.v4.media.RatingCompat fromRating(java.lang.Object);
188 method public static android.support.v4.media.RatingCompat newHeartRating(boolean);
189 method public static android.support.v4.media.RatingCompat newPercentageRating(float);
190 method public static android.support.v4.media.RatingCompat newStarRating(int, float);
191 method public static android.support.v4.media.RatingCompat newThumbRating(boolean);
192 method public static android.support.v4.media.RatingCompat newUnratedRating(int);
194 field public static final android.os.Parcelable.Creator<android.support.v4.media.RatingCompat> CREATOR;
206 package android.support.v4.media.session {
209 ctor public MediaControllerCompat(android.content.Context, android.support.v4.media.session.MediaSessionCompat);
210 ctor public MediaControllerCompat(android.content.Context, android.support.v4.media.session.MediaSessionCompat.Token) throws android.os.RemoteException;
211 method public void addQueueItem(android.support.v4.media.MediaDescriptionCompat);
212 method public void addQueueItem(android.support.v4.media.MediaDescriptionCompat, int);
217 method public static android.support.v4.media.session.MediaControllerCompat getMediaController(android.app.Activity);
219 method public android.support.v4.media.MediaMetadataCompat getMetadata();
221 method public android.support.v4.media.session.MediaControllerCompat.PlaybackInfo getPlaybackInfo();
222 method public android.support.v4.media.session.PlaybackStateCompat getPlaybackState();
223 method public java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem> getQueue();
228 method public android.support.v4.media.session.MediaSessionCompat.Token getSessionToken();
230 method public android.support.v4.media.session.MediaControllerCompat.TransportControls getTransportControls();
233 method public void registerCallback(android.support.v4.media.session.MediaControllerCompat.Callback);
234 method public void registerCallback(android.support.v4.media.session.MediaControllerCompat.Callback, android.os.Handler);
235 method public void removeQueueItem(android.support.v4.media.MediaDescriptionCompat);
238 method public static void setMediaController(android.app.Activity, android.support.v4.media.session.MediaControllerCompat);
240 method public void unregisterCallback(android.support.v4.media.session.MediaControllerCompat.Callback);
246 method public void onAudioInfoChanged(android.support.v4.media.session.MediaControllerCompat.PlaybackInfo);
249 method public void onMetadataChanged(android.support.v4.media.MediaMetadataCompat);
250 method public void onPlaybackStateChanged(android.support.v4.media.session.PlaybackStateCompat);
251 method public void onQueueChanged(java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>);
283 method public abstract void sendCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction, android.os.Bundle);
286 method public abstract void setRating(android.support.v4.media.RatingCompat);
287 method public abstract void setRating(android.support.v4.media.RatingCompat, android.os.Bundle);
294 field public static final java.lang.String EXTRA_LEGACY_STREAM_TYPE = "android.media.session.extra.LEGACY_STREAM_TYPE";
300 method public void addOnActiveChangeListener(android.support.v4.media.session.MediaSessionCompat.OnActiveChangeListener);
301 method public static android.support.v4.media.session.MediaSessionCompat fromMediaSession(android.content.Context, java.lang.Object);
302 method public android.support.v4.media.session.MediaControllerCompat getController();
303 method public final androidx.media.MediaSessionManager.RemoteUserInfo getCurrentControllerInfo();
306 method public android.support.v4.media.session.MediaSessionCompat.Token getSessionToken();
309 method public void removeOnActiveChangeListener(android.support.v4.media.session.MediaSessionCompat.OnActiveChangeListener);
312 method public void setCallback(android.support.v4.media.session.MediaSessionCompat.Callback);
313 method public void setCallback(android.support.v4.media.session.MediaSessionCompat.Callback, android.os.Handler);
318 method public void setMetadata(android.support.v4.media.MediaMetadataCompat);
319 method public void setPlaybackState(android.support.v4.media.session.PlaybackStateCompat);
321 method public void setPlaybackToRemote(androidx.media.VolumeProviderCompat);
322 method public void setQueue(java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>);
328 field public static final java.lang.String ACTION_FLAG_AS_INAPPROPRIATE = "android.support.v4.media.session.action.FLAG_AS_INAPPROPRIATE";
329 field public static final java.lang.String ACTION_FOLLOW = "android.support.v4.media.session.action.FOLLOW";
330 field public static final java.lang.String ACTION_SKIP_AD = "android.support.v4.media.session.action.SKIP_AD";
331 field public static final java.lang.String ACTION_UNFOLLOW = "android.support.v4.media.session.action.UNFOLLOW";
332 field public static final java.lang.String ARGUMENT_MEDIA_ATTRIBUTE = "android.support.v4.media.session.ARGUMENT_MEDIA_ATTRIBUTE";
333 field public static final java.lang.String ARGUMENT_MEDIA_ATTRIBUTE_VALUE = "android.support.v4.media.session.ARGUMENT_MEDIA_ATTRIBUTE_VALUE";
344 method public void onAddQueueItem(android.support.v4.media.MediaDescriptionCompat);
345 method public void onAddQueueItem(android.support.v4.media.MediaDescriptionCompat, int);
359 method public void onRemoveQueueItem(android.support.v4.media.MediaDescriptionCompat);
364 method public void onSetRating(android.support.v4.media.RatingCompat);
365 method public void onSetRating(android.support.v4.media.RatingCompat, android.os.Bundle);
379 ctor public MediaSessionCompat.QueueItem(android.support.v4.media.MediaDescriptionCompat, long);
381 method public static android.support.v4.media.session.MediaSessionCompat.QueueItem fromQueueItem(java.lang.Object);
382 method public static java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem> fromQueueItemList(java.util.List<?>);
383 method public android.support.v4.media.MediaDescriptionCompat getDescription();
387 field public static final android.os.Parcelable.Creator<android.support.v4.media.session.MediaSessionCompat.QueueItem> CREATOR;
393 method public static android.support.v4.media.session.MediaSessionCompat.Token fromToken(java.lang.Object);
396 field public static final android.os.Parcelable.Creator<android.support.v4.media.session.MediaSessionCompat.Token> CREATOR;
404 field public static final android.os.Parcelable.Creator<android.support.v4.media.session.ParcelableVolumeInfo> CREATOR;
414 method public static android.support.v4.media.session.PlaybackStateCompat fromPlaybackState(java.lang.Object);
418 method public java.util.List<android.support.v4.media.session.PlaybackStateCompat.CustomAction> getCustomActions();
451 field public static final android.os.Parcelable.Creator<android.support.v4.media.session.PlaybackStateCompat> CREATOR;
490 ctor public PlaybackStateCompat.Builder(android.support.v4.media.session.PlaybackStateCompat);
491 method public android.support.v4.media.session.PlaybackStateCompat.Builder addCustomAction(java.lang.String, java.lang.String, int);
492 method public android.support.v4.media.session.PlaybackStateCompat.Builder addCustomAction(android.support.v4.media.session.PlaybackStateCompat.CustomAction);
493 method public android.support.v4.media.session.PlaybackStateCompat build();
494 method public android.support.v4.media.session.PlaybackStateCompat.Builder setActions(long);
495 method public android.support.v4.media.session.PlaybackStateCompat.Builder setActiveQueueItemId(long);
496 method public android.support.v4.media.session.PlaybackStateCompat.Builder setBufferedPosition(long);
497 method public deprecated android.support.v4.media.session.PlaybackStateCompat.Builder setErrorMessage(java.lang.CharSequence);
498 method public android.support.v4.media.session.PlaybackStateCompat.Builder setErrorMessage(int, java.lang.CharSequence);
499 method public android.support.v4.media.session.PlaybackStateCompat.Builder setExtras(android.os.Bundle);
500 method public android.support.v4.media.session.PlaybackStateCompat.Builder setState(int, long, float);
501 method public android.support.v4.media.session.PlaybackStateCompat.Builder setState(int, long, float, long);
506 method public static android.support.v4.media.session.PlaybackStateCompat.CustomAction fromCustomAction(java.lang.Object);
513 field public static final android.os.Parcelable.Creator<android.support.v4.media.session.PlaybackStateCompat.CustomAction> CREATOR;
518 method public android.support.v4.media.session.PlaybackStateCompat.CustomAction build();
519 method public android.support.v4.media.session.PlaybackStateCompat.CustomAction.Builder setExtras(android.os.Bundle);
524 package androidx.media {
533 method public static androidx.media.AudioAttributesCompat wrap(java.lang.Object);
561 ctor public AudioAttributesCompat.Builder(androidx.media.AudioAttributesCompat);
562 method public androidx.media.AudioAttributesCompat build();
563 method public androidx.media.AudioAttributesCompat.Builder setContentType(int);
564 method public androidx.media.AudioAttributesCompat.Builder setFlags(int);
565 method public androidx.media.AudioAttributesCompat.Builder setLegacyStreamType(int);
566 method public androidx.media.AudioAttributesCompat.Builder setUsage(int);
574 method public androidx.media.Media2DataSource getMedia2DataSource();
592 ctor public DataSourceDesc.Builder(androidx.media.DataSourceDesc);
593 method public androidx.media.DataSourceDesc build();
594 method public androidx.media.DataSourceDesc.Builder setDataSource(androidx.media.Media2DataSource);
595 method public androidx.media.DataSourceDesc.Builder setDataSource(java.io.FileDescriptor);
596 method public androidx.media.DataSourceDesc.Builder setDataSource(java.io.FileDescriptor, long, long);
597 method public androidx.media.DataSourceDesc.Builder setDataSource(android.content.Context, android.net.Uri);
598 method public androidx.media.DataSourceDesc.Builder setDataSource(android.content.Context, android.net.Uri, java.util.Map<java.lang.String, java.lang.String>, java.util.List<java.net.HttpCookie>);
599 method public androidx.media.DataSourceDesc.Builder setEndPosition(long);
600 method public androidx.media.DataSourceDesc.Builder setMediaId(java.lang.String);
601 method public androidx.media.DataSourceDesc.Builder setStartPosition(long);
610 public class MediaBrowser2 extends androidx.media.MediaController2 {
611 ctor public MediaBrowser2(android.content.Context, androidx.media.SessionToken2, java.util.concurrent.Executor, androidx.media.MediaBrowser2.BrowserCallback);
621 public static class MediaBrowser2.BrowserCallback extends androidx.media.MediaController2.ControllerCallback {
623 method public void onChildrenChanged(androidx.media.MediaBrowser2, java.lang.String, int, android.os.Bundle);
624 method public void onGetChildrenDone(androidx.media.MediaBrowser2, java.lang.String, int, int, java.util.List<androidx.media.MediaItem2>, android.os.Bundle);
625 method public void onGetItemDone(androidx.media.MediaBrowser2, java.lang.String, androidx.media.MediaItem2);
626 method public void onGetLibraryRootDone(androidx.media.MediaBrowser2, android.os.Bundle, java.lang.String, android.os.Bundle);
627 method public void onGetSearchResultDone(androidx.media.MediaBrowser2, java.lang.String, int, int, java.util.List<androidx.media.MediaItem2>, android.os.Bundle);
628 method public void onSearchResultChanged(androidx.media.MediaBrowser2, java.lang.String, int, android.os.Bundle);
635 method public final androidx.media.MediaSessionManager.RemoteUserInfo getCurrentBrowserInfo();
636 method public android.support.v4.media.session.MediaSessionCompat.Token getSessionToken();
640 method public void onCustomAction(java.lang.String, android.os.Bundle, androidx.media.MediaBrowserServiceCompat.Result<android.os.Bundle>);
641 method public abstract androidx.media.MediaBrowserServiceCompat.BrowserRoot onGetRoot(java.lang.String, int, android.os.Bundle);
642 method public abstract void onLoadChildren(java.lang.String, androidx.media.MediaBrowserServiceCompat.Result<java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem>>);
643 method public void onLoadChildren(java.lang.String, androidx.media.MediaBrowserServiceCompat.Result<java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem>>, android.os.Bundle);
644 method public void onLoadItem(java.lang.String, androidx.media.MediaBrowserServiceCompat.Result<android.support.v4.media.MediaBrowserCompat.MediaItem>);
645 method public void onSearch(java.lang.String, android.os.Bundle, androidx.media.MediaBrowserServiceCompat.Result<java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem>>);
646 method public void setSessionToken(android.support.v4.media.session.MediaSessionCompat.Token);
647 field public static final java.lang.String SERVICE_INTERFACE = "android.media.browse.MediaBrowserService";
654 field public static final java.lang.String EXTRA_OFFLINE = "android.service.media.extra.OFFLINE";
655 field public static final java.lang.String EXTRA_RECENT = "android.service.media.extra.RECENT";
656 field public static final java.lang.String EXTRA_SUGGESTED = "android.service.media.extra.SUGGESTED";
657 field public static final deprecated java.lang.String EXTRA_SUGGESTION_KEYWORDS = "android.service.media.extra.SUGGESTION_KEYWORDS";
668 ctor public MediaController2(android.content.Context, androidx.media.SessionToken2, java.util.concurrent.Executor, androidx.media.MediaController2.ControllerCallback);
669 method public void addPlaylistItem(int, androidx.media.MediaItem2);
675 method public androidx.media.MediaItem2 getCurrentMediaItem();
678 method public androidx.media.MediaController2.PlaybackInfo getPlaybackInfo();
681 method public java.util.List<androidx.media.MediaItem2> getPlaylist();
682 method public androidx.media.MediaMetadata2 getPlaylistMetadata();
685 method public androidx.media.SessionToken2 getSessionToken();
697 method public void removePlaylistItem(androidx.media.MediaItem2);
698 method public void replacePlaylistItem(int, androidx.media.MediaItem2);
703 method public void sendCustomCommand(androidx.media.SessionCommand2, android.os.Bundle, android.os.ResultReceiver);
705 method public void setPlaylist(java.util.List<androidx.media.MediaItem2>, androidx.media.MediaMetadata2);
706 method public void setRating(java.lang.String, androidx.media.Rating2);
711 method public void skipToPlaylistItem(androidx.media.MediaItem2);
715 method public void updatePlaylistMetadata(androidx.media.MediaMetadata2);
720 method public void onAllowedCommandsChanged(androidx.media.MediaController2, androidx.media.SessionCommandGroup2);
721 method public void onBufferingStateChanged(androidx.media.MediaController2, androidx.media.MediaItem2, int);
722 method public void onConnected(androidx.media.MediaController2, androidx.media.SessionCommandGroup2);
723 method public void onCurrentMediaItemChanged(androidx.media.MediaController2, androidx.media.MediaItem2);
724 method public void onCustomCommand(androidx.media.MediaController2, androidx.media
725 method public void onCustomLayoutChanged(androidx.media.MediaController2, java.util.List<androidx.media.MediaSession2.CommandButton>);
726 method public void onDisconnected(androidx.media.MediaController2);
727 method public void onError(androidx.media.MediaController2, int, android.os.Bundle);
728 method public void onPlaybackInfoChanged(androidx.media.MediaController2, androidx.media.MediaController2.PlaybackInfo);
729 method public void onPlaybackSpeedChanged(androidx.media.MediaController2, float);
730 method public void onPlayerStateChanged(androidx.media.MediaController2, int);
731 method public void onPlaylistChanged(androidx.media.MediaController2, java.util.List<androidx.media.MediaItem2>, androidx.media.MediaMetadata2);
732 method public void onPlaylistMetadataChanged(androidx.media.MediaController2, androidx.media.MediaMetadata2);
733 method public void onRepeatModeChanged(androidx.media.MediaController2, int);
734 method public void onRoutesInfoChanged(androidx.media.MediaController2, java.util.List<android.os.Bundle>);
735 method public void onSeekCompleted(androidx.media.MediaController2, long);
736 method public void onShuffleModeChanged(androidx.media.MediaController2, int);
740 method public androidx.media.AudioAttributesCompat getAudioAttributes();
750 method public static androidx.media.MediaItem2 fromBundle(android.os.Bundle);
751 method public androidx.media.DataSourceDesc getDataSourceDesc();
754 method public androidx.media.MediaMetadata2 getMetadata();
757 method public void setMetadata(androidx.media.MediaMetadata2);
765 method public androidx.media.MediaItem2 build();
766 method public androidx.media.MediaItem2.Builder setDataSourceDesc(androidx.media.DataSourceDesc);
767 method public androidx.media.MediaItem2.Builder setMediaId(java.lang.String);
768 method public androidx.media.MediaItem2.Builder setMetadata(androidx.media.MediaMetadata2);
771 public abstract class MediaLibraryService2 extends androidx.media.MediaSessionService2 {
773 method public abstract androidx.media.MediaLibraryService2.MediaLibrarySession onCreateSession(java.lang.String);
774 field public static final java.lang.String SERVICE_INTERFACE = "android.media.MediaLibraryService2";
781 field public static final java.lang.String EXTRA_OFFLINE = "android.media.extra.OFFLINE";
782 field public static final java.lang.String EXTRA_RECENT = "android.media.extra.RECENT";
783 field public static final java.lang.String EXTRA_SUGGESTED = "android.media.extra.SUGGESTED";
786 public static final class MediaLibraryService2.MediaLibrarySession extends androidx.media.MediaSession2 {
787 method public void notifyChildrenChanged(androidx.media.MediaSession2.ControllerInfo, java.lang.String, int, android.os.Bundle);
789 method public void notifySearchResultChanged(androidx.media.MediaSession2.ControllerInfo, java.lang.String, int, android.os.Bundle);
793 ctor public MediaLibraryService2.MediaLibrarySession.Builder(androidx.media.MediaLibraryService2, java.util.concurrent.Executor, androidx.media.MediaLibraryService2.MediaLibrarySession.MediaLibrarySessionCallback);
794 method public androidx.media.MediaLibraryService2.MediaLibrarySession build();
795 method public androidx.media.MediaLibraryService2.MediaLibrarySession.Builder setId(java.lang.String);
796 method public androidx.media.MediaLibraryService2.MediaLibrarySession.Builder setPlayer(androidx.media.MediaPlayerInterface);
797 method public androidx.media.MediaLibraryService2.MediaLibrarySession.Builder setPlaylistAgent(androidx.media.MediaPlaylistAgent);
798 method public androidx.media.MediaLibraryService2.MediaLibrarySession.Builder setSessionActivity(android.app.PendingIntent);
799 method public androidx.media.MediaLibraryService2.MediaLibrarySession.Builder setVolumeProvider(androidx.media.VolumeProviderCompat);
802 public static class MediaLibraryService2.MediaLibrarySession.MediaLibrarySessionCallback extends androidx.media.MediaSession2.SessionCallback {
804 method public java.util.List<androidx.media.MediaItem2> onGetChildren(androidx.media.MediaLibraryService2.MediaLibrarySession, androidx.media.MediaSession2.ControllerInfo, java.lang.String, int, int, android.os.Bundle);
805 method public androidx.media.MediaItem2 onGetItem(androidx.media.MediaLibraryService2.MediaLibrarySession, androidx.media.MediaSession2.ControllerInfo, java.lang.String);
806 method public androidx.media.MediaLibraryService2.LibraryRoot onGetLibraryRoot(androidx.media.MediaLibraryService2.MediaLibrarySession, androidx.media.MediaSession2.ControllerInfo, android.os.Bundle);
807 method public java.util.List<androidx.media.MediaItem2> onGetSearchResult(androidx.media.MediaLibraryService2.MediaLibrarySession, androidx.media.MediaSession2.ControllerInfo, java.lang.String, int, int, android.os.Bundle);
808 method public void onSearch(androidx.media.MediaLibraryService2.MediaLibrarySession, androidx.media.MediaSession2.ControllerInfo, java.lang.String, android.os.Bundle);
809 method public void onSubscribe(androidx.media.MediaLibraryService2.MediaLibrarySession, androidx.media.MediaSession2.ControllerInfo, java.lang.String, android.os.Bundle);
810 method public void onUnsubscribe(androidx.media.MediaLibraryService2.MediaLibrarySession, androidx.media.MediaSession2.ControllerInfo, java.lang.String);
815 method public static androidx.media.MediaMetadata2 fromBundle(android.os.Bundle);
821 method public androidx.media.Rating2 getRating(java.lang.String);
834 field public static final java.lang.String METADATA_KEY_ADVERTISEMENT = "android.media.metadata.ADVERTISEMENT";
835 field public static final java.lang.String METADATA_KEY_ALBUM = "android.media.metadata.ALBUM";
836 field public static final java.lang.String METADATA_KEY_ALBUM_ART = "android.media.metadata.ALBUM_ART";
837 field public static final java.lang.String METADATA_KEY_ALBUM_ARTIST = "android.media.metadata.ALBUM_ARTIST";
838 field public static final java.lang.String METADATA_KEY_ALBUM_ART_URI = "android.media.metadata.ALBUM_ART_URI";
839 field public static final java.lang.String METADATA_KEY_ART = "android.media.metadata.ART";
840 field public static final java.lang.String METADATA_KEY_ARTIST = "android.media.metadata.ARTIST";
841 field public static final java.lang.String METADATA_KEY_ART_URI = "android.media.metadata.ART_URI";
842 field public static final java.lang.String METADATA_KEY_AUTHOR = "android.media.metadata.AUTHOR";
843 field public static final java.lang.String METADATA_KEY_BT_FOLDER_TYPE = "android.media.metadata.BT_FOLDER_TYPE";
844 field public static final java.lang.String METADATA_KEY_COMPILATION = "android.media.metadata.COMPILATION";
845 field public static final java.lang.String METADATA_KEY_COMPOSER = "android.media.metadata.COMPOSER";
846 field public static final java.lang.String METADATA_KEY_DATE = "android.media.metadata.DATE";
847 field public static final java.lang.String METADATA_KEY_DISC_NUMBER = "android.media.metadata.DISC_NUMBER";
848 field public static final java.lang.String METADATA_KEY_DISPLAY_DESCRIPTION = "android.media.metadata.DISPLAY_DESCRIPTION";
849 field public static final java.lang.String METADATA_KEY_DISPLAY_ICON = "android.media.metadata.DISPLAY_ICON";
850 field public static final java.lang.String METADATA_KEY_DISPLAY_ICON_URI = "android.media.metadata.DISPLAY_ICON_URI";
851 field public static final java.lang.String METADATA_KEY_DISPLAY_SUBTITLE = "android.media.metadata.DISPLAY_SUBTITLE";
852 field public static final java.lang.String METADATA_KEY_DISPLAY_TITLE = "android.media.metadata.DISPLAY_TITLE";
853 field public static final java.lang.String METADATA_KEY_DOWNLOAD_STATUS = "android.media.metadata.DOWNLOAD_STATUS";
854 field public static final java.lang.String METADATA_KEY_DURATION = "android.media.metadata.DURATION";
855 field public static final java.lang.String METADATA_KEY_EXTRAS = "android.media.metadata.EXTRAS";
856 field public static final java.lang.String METADATA_KEY_GENRE = "android.media.metadata.GENRE";
857 field public static final java.lang.String METADATA_KEY_MEDIA_ID = "android.media.metadata.MEDIA_ID";
858 field public static final java.lang.String METADATA_KEY_MEDIA_URI = "android.media.metadata.MEDIA_URI";
859 field public static final java.lang.String METADATA_KEY_NUM_TRACKS = "android.media.metadata.NUM_TRACKS";
860 field public static final java.lang.String METADATA_KEY_RATING = "android.media.metadata.RATING";
861 field public static final java.lang.String METADATA_KEY_TITLE = "android.media.metadata.TITLE";
862 field public static final java.lang.String METADATA_KEY_TRACK_NUMBER = "android.media.metadata.TRACK_NUMBER";
863 field public static final java.lang.String METADATA_KEY_USER_RATING = "android.media.metadata.USER_RATING";
864 field public static final java.lang.String METADATA_KEY_WRITER = "android.media.metadata.WRITER";
865 field public static final java.lang.String METADATA_KEY_YEAR = "android.media.metadata.YEAR";
873 ctor public MediaMetadata2.Builder(androidx.media.MediaMetadata2);
874 method public androidx.media.MediaMetadata2 build();
875 method public androidx.media.MediaMetadata2.Builder putBitmap(java.lang.String, android.graphics.Bitmap);
876 method public androidx.media.MediaMetadata2.Builder putFloat(java.lang.String, float);
877 method public androidx.media.MediaMetadata2.Builder putLong(java.lang.String, long);
878 method public androidx.media.MediaMetadata2.Builder putRating(java.lang.String, androidx.media.Rating2);
879 method public androidx.media.MediaMetadata2.Builder putString(java.lang.String, java.lang.String);
880 method public androidx.media.MediaMetadata2.Builder putText(java.lang.String, java.lang.CharSequence);
881 method public androidx.media.MediaMetadata2.Builder setExtras(android.os.Bundle);
890 method public static final androidx.media.MediaPlayer2 create();
892 method public abstract androidx.media.AudioAttributesCompat getAudioAttributes();
895 method public abstract androidx.media.DataSourceDesc getCurrentDataSource();
897 method public abstract androidx.media.MediaPlayer2.DrmInfo getDrmInfo();
898 method public abstract android.media.MediaDrm.KeyRequest getDrmKeyRequest(byte[], byte[], java.lang.String, int, java.util.Map<java.lang.String, java.lang.String>) throws androidx.media.MediaPlayer2.NoDrmSchemeException;
899 method public abstract java.lang.String getDrmPropertyString(java.lang.String) throws androidx.media.MediaPlayer2.NoDrmSchemeException;
903 method public abstract androidx.media.MediaPlayerInterface getMediaPlayerInterface();
905 method public abstract android.media.PlaybackParams getPlaybackParams();
909 method public abstract android.media.SyncParams getSyncParams();
910 method public abstract android.media.MediaTimestamp getTimestamp();
911 method public abstract java.util.List<androidx.media.MediaPlayer2.TrackInfo> getTrackInfo();
920 method public abstract void prepareDrm(java.util.UUID) throws androidx.media.MediaPlayer2.ProvisioningNetworkErrorException, androidx.media.MediaPlayer2.ProvisioningServerErrorException, android.media.ResourceBusyException, android.media.UnsupportedSchemeException;
921 method public abstract byte[] provideDrmKeyResponse(byte[], byte[]) throws android.media.DeniedByServerException, androidx.media.MediaPlayer2.NoDrmSchemeException;
922 method public abstract void releaseDrm() throws androidx.media.MediaPlayer2.NoDrmSchemeException;
924 method public abstract void restoreDrmKeys(byte[]) throws androidx.media.MediaPlayer2.NoDrmSchemeException;
928 method public abstract void setAudioAttributes(androidx.media.AudioAttributesCompat);
931 method public abstract void setDataSource(androidx.media.DataSourceDesc);
932 method public abstract void setDrmEventCallback(java.util.concurrent.Executor, androidx.media.MediaPlayer2.DrmEventCallback);
933 method public abstract void setDrmPropertyString(java.lang.String, java.lang.String) throws androidx.media
934 method public abstract void setMediaPlayer2EventCallback(java.util.concurrent.Executor, androidx.media.MediaPlayer2.MediaPlayer2EventCallback);
935 method public abstract void setNextDataSource(androidx.media.DataSourceDesc);
936 method public abstract void setNextDataSources(java.util.List<androidx.media.DataSourceDesc>);
937 method public abstract void setOnDrmConfigHelper(androidx.media.MediaPlayer2.OnDrmConfigHelper);
938 method public abstract void setPlaybackParams(android.media.PlaybackParams);
942 method public abstract void setSyncParams(android.media.SyncParams);
1011 method public void onDrmInfo(androidx.media.MediaPlayer2, androidx.media.DataSourceDesc, androidx.media.MediaPlayer2.DrmInfo);
1012 method public void onDrmPrepared(androidx.media.MediaPlayer2, androidx.media.DataSourceDesc, int);
1023 method public void onCallCompleted(androidx.media.MediaPlayer2, androidx.media.DataSourceDesc, int, int);
1024 method public void onCommandLabelReached(androidx.media.MediaPlayer2, java.lang.Object);
1025 method public void onError(androidx.media.MediaPlayer2, androidx.media.DataSourceDesc, int, int);
1026 method public void onInfo(androidx.media.MediaPlayer2, androidx.media.DataSourceDesc, int, int);
1027 method public void onMediaTimeDiscontinuity(androidx.media.MediaPlayer2, androidx.media.DataSourceDesc, android.media.MediaTimestamp);
1028 method public void onSubtitleData(androidx.media.MediaPlayer2, androidx.media.DataSourceDesc, android.media.SubtitleData);
1029 method public void onTimedMetaDataAvailable(androidx.media.MediaPlayer2, androidx.media.DataSourceDesc, android.media.TimedMetaData);
1030 method public void onVideoSizeChanged(androidx.media.MediaPlayer2, androidx.media.DataSourceDesc, int, int);
1034 field public static final java.lang.String CODEC_AUDIO = "android.media.mediaplayer.audio.codec";
1035 field public static final java.lang.String CODEC_VIDEO = "android.media.mediaplayer.video.codec";
1036 field public static final java.lang.String DURATION = "android.media.mediaplayer.durationMs";
1037 field public static final java.lang.String ERRORS = "android.media.mediaplayer.err";
1038 field public static final java.lang.String ERROR_CODE = "android.media.mediaplayer.errcode";
1039 field public static final java.lang.String FRAMES = "android.media.mediaplayer.frames";
1040 field public static final java.lang.String FRAMES_DROPPED = "android.media.mediaplayer.dropped";
1041 field public static final java.lang.String HEIGHT = "android.media.mediaplayer.height";
1042 field public static final java.lang.String MIME_TYPE_AUDIO = "android.media.mediaplayer.audio.mime";
1043 field public static final java.lang.String MIME_TYPE_VIDEO = "android.media.mediaplayer.video.mime";
1044 field public static final java.lang.String PLAYING = "android.media.mediaplayer.playingMs";
1045 field public static final java.lang.String WIDTH = "android.media.mediaplayer.width";
1048 public static class MediaPlayer2.NoDrmSchemeException extends android.media.MediaDrmException {
1053 method public abstract void onDrmConfig(androidx.media.MediaPlayer2, androidx.media.DataSourceDesc);
1056 public static class MediaPlayer2.ProvisioningNetworkErrorException extends android.media.MediaDrmException {
1060 public static class MediaPlayer2.ProvisioningServerErrorException extends android.media.MediaDrmException {
1066 method public abstract android.media.MediaFormat getFormat();
1079 method public abstract androidx.media.AudioAttributesCompat getAudioAttributes();
1082 method public abstract androidx.media.DataSourceDesc getCurrentDataSource();
1094 method public abstract void registerPlayerEventCallback(java.util.concurrent.Executor, androidx.media.MediaPlayerInterface.PlayerEventCallback);
1097 method public abstract void setAudioAttributes(androidx.media.AudioAttributesCompat);
1098 method public abstract void setDataSource(androidx.media.DataSourceDesc);
1099 method public abstract void setNextDataSource(androidx.media.DataSourceDesc);
1100 method public abstract void setNextDataSources(java.util.List<androidx.media.DataSourceDesc>);
1104 method public abstract void unregisterPlayerEventCallback(androidx.media.MediaPlayerInterface.PlayerEventCallback);
1118 method public void onBufferingStateChanged(androidx.media.MediaPlayerInterface, androidx.media.DataSourceDesc, int);
1119 method public void onCurrentDataSourceChanged(androidx.media.MediaPlayerInterface, androidx.media.DataSourceDesc);
1120 method public void onMediaPrepared(androidx.media.MediaPlayerInterface, androidx.media.DataSourceDesc);
1121 method public void onPlaybackSpeedChanged(androidx.media.MediaPlayerInterface, float);
1122 method public void onPlayerStateChanged(androidx.media.MediaPlayerInterface, int);
1123 method public void onSeekCompleted(androidx.media.MediaPlayerInterface, long);
1128 method public abstract void addPlaylistItem(int, androidx.media.MediaItem2);
1129 method public abstract androidx.media.MediaItem2 getCurrentMediaItem();
1130 method public androidx.media.MediaItem2 getMediaItem(androidx.media.DataSourceDesc);
1131 method public abstract java.util.List<androidx.media.MediaItem2> getPlaylist();
1132 method public abstract androidx.media.MediaMetadata2 getPlaylistMetadata();
1139 method public final void registerPlaylistEventCallback(java.util.concurrent.Executor, androidx.media.MediaPlaylistAgent.PlaylistEventCallback);
1140 method public abstract void removePlaylistItem(androidx.media.MediaItem2);
1141 method public abstract void replacePlaylistItem(int, androidx.media.MediaItem2);
1142 method public abstract void setPlaylist(java.util.List<androidx.media.MediaItem2>, androidx.media.MediaMetadata2);
1146 method public abstract void skipToPlaylistItem(androidx.media.MediaItem2);
1148 method public final void unregisterPlaylistEventCallback(androidx.media.MediaPlaylistAgent.PlaylistEventCallback);
1149 method public abstract void updatePlaylistMetadata(androidx.media.MediaMetadata2);
1161 method public void onPlaylistChanged(androidx.media.MediaPlaylistAgent, java.util.List<androidx.media.MediaItem2>, androidx.media.MediaMetadata2);
1162 method public void onPlaylistMetadataChanged(androidx.media.MediaPlaylistAgent, androidx.media.MediaMetadata2);
1163 method public void onRepeatModeChanged(androidx.media.MediaPlaylistAgent, int);
1164 method public void onShuffleModeChanged(androidx.media.MediaPlaylistAgent, int);
1168 method public void addPlaylistItem(int, androidx.media.MediaItem2);
1173 method public java.util.List<androidx.media.MediaSession2.ControllerInfo> getConnectedControllers();
1174 media.MediaItem2 getCurrentMediaItem();
1178 method public androidx.media.MediaPlayerInterface getPlayer();
1180 method public java.util.List<androidx.media.MediaItem2> getPlaylist();
1181 method public androidx.media.MediaPlaylistAgent getPlaylistAgent();
1182 method public androidx.media.MediaMetadata2 getPlaylistMetadata();
1185 method public androidx.media.SessionToken2 getToken();
1186 method public androidx.media.VolumeProviderCompat getVolumeProvider();
1188 method public void notifyRoutesInfoChanged(androidx.media.MediaSession2.ControllerInfo, java.util.List<android.os.Bundle>);
1192 method public void removePlaylistItem(androidx.media.MediaItem2);
1193 method public void replacePlaylistItem(int, androidx.media.MediaItem2);
1196 method public void sendCustomCommand(androidx.media.SessionCommand2, android.os.Bundle);
1197 method public void sendCustomCommand(androidx.media.MediaSession2.ControllerInfo, androidx.media.SessionCommand2, android.os.Bundle, android.os.ResultReceiver);
1198 method public void setAllowedCommands(androidx.media.MediaSession2.ControllerInfo, androidx.media.SessionCommandGroup2);
1199 method public void setAudioFocusRequest(android.media.AudioFocusRequest);
1200 method public void setCustomLayout(androidx.media.MediaSession2.ControllerInfo, java.util.List<androidx.media.MediaSession2.CommandButton>);
1201 method public void setOnDataSourceMissingHelper(androidx.media.MediaSession2.OnDataSourceMissingHelper);
1203 method public void setPlaylist(java.util.List<androidx.media.MediaItem2>, androidx.media.MediaMetadata2);
1207 method public void skipToPlaylistItem(androidx.media.MediaItem2);
1209 method public void updatePlayer(androidx.media.MediaPlayerInterface, androidx.media.MediaPlaylistAgent, androidx.media.VolumeProviderCompat);
1210 method public void updatePlaylistMetadata(androidx.media.MediaMetadata2);
1228 method public androidx.media.MediaSession2 build();
1229 method public androidx.media.MediaSession2.Builder setId(java.lang.String);
1230 method public androidx.media.MediaSession2.Builder setPlayer(androidx.media.MediaPlayerInterface);
1231 method public androidx.media.MediaSession2.Builder setPlaylistAgent(androidx.media.MediaPlaylistAgent);
1232 method public androidx.media.MediaSession2.Builder setSessionActivity(android.app.PendingIntent);
1233 method public androidx.media.MediaSession2.Builder setSessionCallback(java.util.concurrent.Executor, androidx.media.MediaSession2.SessionCallback);
1234 method public androidx.media.MediaSession2.Builder setVolumeProvider(androidx.media.VolumeProviderCompat);
1238 method public androidx.media.SessionCommand2 getCommand();
1247 method public androidx.media.MediaSession2.CommandButton build();
1248 method public androidx.media.MediaSession2.CommandButton.Builder setCommand(androidx.media.SessionCommand2);
1249 method public androidx.media.MediaSession2.CommandButton.Builder setDisplayName(java.lang.String);
1250 method public androidx.media.MediaSession2.CommandButton.Builder setEnabled(boolean);
1251 method public androidx.media.MediaSession2.CommandButton.Builder setExtras(android.os.Bundle);
1252 method public androidx.media.MediaSession2.CommandButton.Builder setIconResId(int);
1261 method public abstract androidx.media.DataSourceDesc onDataSourceMissing(androidx.media.MediaSession2, androidx.media.MediaItem2);
1266 method public void onBufferingStateChanged(androidx.media.MediaSession2, androidx.media.MediaPlayerInterface, androidx.media.MediaItem2, int);
1267 method public boolean onCommandRequest(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo, androidx.media.SessionCommand2);
1268 method public androidx.media.SessionCommandGroup2 onConnect(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo);
1269 method public void onCurrentMediaItemChanged(androidx.media.MediaSession2, androidx.media.MediaPlayerInterface, androidx.media.MediaItem2);
1270 method public void onCustomCommand(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo, androidx.media.SessionCommand2, android.os.Bundle, android.os.ResultReceiver);
1271 method public void onDisconnected(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo);
1272 method public void onFastForward(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo);
1273 method public void onMediaPrepared(androidx.media.MediaSession2, androidx.media.MediaPlayerInterface, androidx.media.MediaItem2);
1274 method public void onPlayFromMediaId(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo, java.lang.String, android.os.Bundle);
1275 method public void onPlayFromSearch(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo, java.lang.String, android.os.Bundle);
1276 method public void onPlayFromUri(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo, android.net.Uri, android.os.Bundle);
1277 method public void onPlaybackSpeedChanged(androidx.media.MediaSession2, androidx.media.MediaPlayerInterface, float);
1278 method public void onPlayerStateChanged(androidx.media.MediaSession2, androidx.media.MediaPlayerInterface, int);
1279 method public void onPlaylistChanged(androidx.media.MediaSession2, androidx.media.MediaPlaylistAgent, java.util.List<androidx.media.MediaItem2>, androidx.media.MediaMetadata2);
1280 method public void onPlaylistMetadataChanged(androidx.media.MediaSession2, androidx.media.MediaPlaylistAgent, androidx.media.MediaMetadata2);
1281 method public void onPrepareFromMediaId(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo, java.lang.String, android.os.Bundle);
1282 method public void onPrepareFromSearch(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo, java.lang.String, android.os.Bundle);
1283 method public void onPrepareFromUri(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo, android.net.Uri, android.os.Bundle);
1284 method public void onRepeatModeChanged(androidx.media.MediaSession2, androidx.media.MediaPlaylistAgent, int);
1285 method public void onRewind(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo);
1286 method public void onSeekCompleted(androidx.media.MediaSession2, androidx.media.MediaPlayerInterface, long);
1287 method public void onSelectRoute(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo, android.os.Bundle);
1288 method public void onSetRating(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo, java.lang.String, androidx.media.Rating2);
1289 method public void onShuffleModeChanged(androidx.media.MediaSession2, androidx.media.MediaPlaylistAgent, int);
1290 method public void onSubscribeRoutesInfo(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo);
1291 method public void onUnsubscribeRoutesInfo(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo);
1295 method public static androidx.media.MediaSessionManager getSessionManager(android.content.Context);
1296 method public boolean isTrustedForMediaControl(androidx.media.MediaSessionManager.RemoteUserInfo);
1309 method public final androidx.media.MediaSession2 getSession();
1311 method public abstract androidx.media.MediaSession2 onCreateSession(java.lang.String);
1312 method public androidx.media.MediaSessionService2.MediaNotification onUpdateNotification();
1313 field public static final java.lang.String SERVICE_INTERFACE = "android.media.MediaSessionService2";
1314 field public static final java.lang.String SERVICE_META_DATA = "android.media.session";
1324 method public static androidx.media.Rating2 fromBundle(android.os.Bundle);
1331 method public static androidx.media.Rating2 newHeartRating(boolean);
1332 method public static androidx.media.Rating2 newPercentageRating(float);
1333 method public static androidx.media.Rating2 newStarRating(int, float);
1334 method public static androidx.media.Rating2 newThumbRating(boolean);
1335 method public static androidx.media.Rating2 newUnratedRating(int);
1397 ctor public SessionCommandGroup2(androidx.media.SessionCommandGroup2);
1399 method public void addCommand(androidx.media.SessionCommand2);
1401 method public java.util.Set<androidx.media.SessionCommand2> getCommands();
1402 method public boolean hasCommand(androidx.media.SessionCommand2);
1404 method public void removeCommand(androidx.media
1410 method public static androidx.media.SessionToken2 fromBundle(android.os.Bundle);
1430 method public void setCallback(androidx.media.VolumeProviderCompat.Callback);
1439 method public abstract void onVolumeChanged(androidx.media.VolumeProviderCompat);
1444 package androidx.media.app {
1449 public static class NotificationCompat.DecoratedMediaCustomViewStyle extends androidx.media.app.NotificationCompat.MediaStyle {
1456 method public static android.support.v4.media.session.MediaSessionCompat.Token getMediaSession(android.app.Notification);
1457 method public androidx.media.app.NotificationCompat.MediaStyle setCancelButtonIntent(android.app.PendingIntent);
1458 method public androidx.media.app.NotificationCompat.MediaStyle setMediaSession(android.support.v4.media.session.MediaSessionCompat.Token);
1459 method public androidx.media.app.NotificationCompat.MediaStyle setShowActionsInCompactView(int...);
1460 method public androidx.media.app.NotificationCompat.MediaStyle setShowCancelButton(boolean);
1465 package androidx.media.session {
1471 method public static android.view.KeyEvent handleIntent(android.support.v4.media.session.MediaSessionCompat, android.content.Intent);