Lines Matching refs:media
1 package android.support.v4.media {
4 …ndroid.content.Context, android.content.ComponentName, android.support.v4.media.MediaBrowserCompat…
8 …method public void getItem(java.lang.String, android.support.v4.media.MediaBrowserCompat.ItemCallb…
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.MediaBrows…
14 … sendCustomAction(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBrowserCompat…
15 …method public void subscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subscri…
16 …method public void subscribe(java.lang.String, android.os.Bundle, android.support.v4.media.MediaBr…
18 …method public void unsubscribe(java.lang.String, android.support.v4.media.MediaBrowserCompat.Subsc…
19 …field public static final java.lang.String CUSTOM_ACTION_DOWNLOAD = "android.support.v4.media.acti…
20 …va.lang.String CUSTOM_ACTION_REMOVE_DOWNLOADED_FILE = "android.support.v4.media.action.REMOVE_DOWN…
21 …field public static final java.lang.String EXTRA_DOWNLOAD_PROGRESS = "android.media.browse.extra.D…
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…
51 …method public static java.util.List<android.support.v4.media.MediaBrowserCompat.MediaItem> fromMed…
52 method public android.support.v4.media.MediaDescriptionCompat getDescription();
58 …field public static final android.os.Parcelable.Creator<android.support.v4.media.MediaBrowserCompa…
66 …lt(java.lang.String, android.os.Bundle, java.util.List<android.support.v4.media.MediaBrowserCompat…
71 …method public void onChildrenLoaded(java.lang.String, java.util.List<android.support.v4.media.Medi…
72 …method public void onChildrenLoaded(java.lang.String, java.util.List<android.support.v4.media.Medi…
79 …method public static android.support.v4.media.MediaDescriptionCompat fromMediaDescription(java.lan…
97 …field public static final android.os.Parcelable.Creator<android.support.v4.media.MediaDescriptionC…
98 …field public static final java.lang.String EXTRA_BT_FOLDER_TYPE = "android.media.extra.BT_FOLDER_T…
99 …field public static final java.lang.String EXTRA_DOWNLOAD_STATUS = "android.media.extra.DOWNLOAD_S…
107 method public android.support.v4.media.MediaDescriptionCompat build();
108 …method public android.support.v4.media.MediaDescriptionCompat.Builder setDescription(java.lang.Cha…
109 …method public android.support.v4.media.MediaDescriptionCompat.Builder setExtras(android.os.Bundle);
110 …method public android.support.v4.media.MediaDescriptionCompat.Builder setIconBitmap(android.graphi…
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.CharSe…
115 …method public android.support.v4.media.MediaDescriptionCompat.Builder setTitle(java.lang.CharSeque…
121 …method public static android.support.v4.media.MediaMetadataCompat fromMediaMetadata(java.lang.Obje…
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.MediaMetadataComp…
134 …field public static final java.lang.String METADATA_KEY_ADVERTISEMENT = "android.media.metadata.AD…
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_…
137 …field public static final java.lang.String METADATA_KEY_ALBUM_ARTIST = "android.media.metadata.ALB…
138 …field public static final java.lang.String METADATA_KEY_ALBUM_ART_URI = "android.media.metadata.AL…
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.B…
144 …field public static final java.lang.String METADATA_KEY_COMPILATION = "android.media.metadata.COMP…
145 …field public static final java.lang.String METADATA_KEY_COMPOSER = "android.media.metadata.COMPOSE…
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…
148 …field public static final java.lang.String METADATA_KEY_DISPLAY_DESCRIPTION = "android.media.metad…
149 …field public static final java.lang.String METADATA_KEY_DISPLAY_ICON = "android.media.metadata.DIS…
150 …field public static final java.lang.String METADATA_KEY_DISPLAY_ICON_URI = "android.media.metadata…
151 …field public static final java.lang.String METADATA_KEY_DISPLAY_SUBTITLE = "android.media.metadata…
152 …field public static final java.lang.String METADATA_KEY_DISPLAY_TITLE = "android.media.metadata.DI…
153 …field public static final java.lang.String METADATA_KEY_DOWNLOAD_STATUS = "android.media.metadata.…
154 …field public static final java.lang.String METADATA_KEY_DURATION = "android.media.metadata.DURATIO…
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_I…
157 …field public static final java.lang.String METADATA_KEY_MEDIA_URI = "android.media.metadata.MEDIA_…
158 …field public static final java.lang.String METADATA_KEY_NUM_TRACKS = "android.media.metadata.NUM_T…
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.TRA…
162 …field public static final java.lang.String METADATA_KEY_USER_RATING = "android.media.metadata.USER…
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, and…
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, and…
174 …method public android.support.v4.media.MediaMetadataCompat.Builder putString(java.lang.String, jav…
175 …method public android.support.v4.media.MediaMetadataCompat.Builder putText(java.lang.String, java.…
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> CRE…
206 package android.support.v4.media.session {
209 …ctor public MediaControllerCompat(android.content.Context, android.support.v4.media.session.MediaS…
210 …ctor public MediaControllerCompat(android.content.Context, android.support.v4.media.session.MediaS…
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(and…
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> getQue…
228 method public android.support.v4.media.session.MediaSessionCompat.Token getSessionToken();
230 …method public android.support.v4.media.session.MediaControllerCompat.TransportControls getTranspor…
233 …method public void registerCallback(android.support.v4.media.session.MediaControllerCompat.Callbac…
234 …method public void registerCallback(android.support.v4.media.session.MediaControllerCompat.Callbac…
235 method public void removeQueueItem(android.support.v4.media.MediaDescriptionCompat);
238 …method public static void setMediaController(android.app.Activity, android.support.v4.media.sessio…
240 …method public void unregisterCallback(android.support.v4.media.session.MediaControllerCompat.Callb…
246 …method public void onAudioInfoChanged(android.support.v4.media.session.MediaControllerCompat.Playb…
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.MediaSessionComp…
283 …method public abstract void sendCustomAction(android.support.v4.media.session.PlaybackStateCompat.…
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…
300 …method public void addOnActiveChangeListener(android.support.v4.media.session.MediaSessionCompat.O…
301 …method public static android.support.v4.media.session.MediaSessionCompat fromMediaSession(android.…
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.MediaSessionCompa…
312 method public void setCallback(android.support.v4.media.session.MediaSessionCompat.Callback);
313 …method public void setCallback(android.support.v4.media.session.MediaSessionCompat.Callback, andro…
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.Que…
328 …final java.lang.String ACTION_FLAG_AS_INAPPROPRIATE = "android.support.v4.media.session.action.FLA…
329 …field public static final java.lang.String ACTION_FOLLOW = "android.support.v4.media.session.actio…
330 …field public static final java.lang.String ACTION_SKIP_AD = "android.support.v4.media.session.acti…
331 …field public static final java.lang.String ACTION_UNFOLLOW = "android.support.v4.media.session.act…
332 …field public static final java.lang.String ARGUMENT_MEDIA_ATTRIBUTE = "android.support.v4.media.se…
333 …nal java.lang.String ARGUMENT_MEDIA_ATTRIBUTE_VALUE = "android.support.v4.media.session.ARGUMENT_M…
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(j…
382 …method public static java.util.List<android.support.v4.media.session.MediaSessionCompat.QueueItem>…
383 method public android.support.v4.media.MediaDescriptionCompat getDescription();
387 …field public static final android.os.Parcelable.Creator<android.support.v4.media.session.MediaSess…
393 …method public static android.support.v4.media.session.MediaSessionCompat.Token fromToken(java.lang…
396 …field public static final android.os.Parcelable.Creator<android.support.v4.media.session.MediaSess…
404 …field public static final android.os.Parcelable.Creator<android.support.v4.media.session.Parcelabl…
414 …method public static android.support.v4.media.session.PlaybackStateCompat fromPlaybackState(java.l…
418 …method public java.util.List<android.support.v4.media.session.PlaybackStateCompat.CustomAction> ge…
451 …field public static final android.os.Parcelable.Creator<android.support.v4.media.session.PlaybackS…
490 ctor public PlaybackStateCompat.Builder(android.support.v4.media.session.PlaybackStateCompat);
491 …method public android.support.v4.media.session.PlaybackStateCompat.Builder addCustomAction(java.la…
492 …method public android.support.v4.media.session.PlaybackStateCompat.Builder addCustomAction(android…
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(lo…
496 …method public android.support.v4.media.session.PlaybackStateCompat.Builder setBufferedPosition(lon…
497 …method public deprecated android.support.v4.media.session.PlaybackStateCompat.Builder setErrorMess…
498 …method public android.support.v4.media.session.PlaybackStateCompat.Builder setErrorMessage(int, ja…
499 …method public android.support.v4.media.session.PlaybackStateCompat.Builder setExtras(android.os.Bu…
500 …method public android.support.v4.media.session.PlaybackStateCompat.Builder setState(int, long, flo…
501 …method public android.support.v4.media.session.PlaybackStateCompat.Builder setState(int, long, flo…
506 …method public static android.support.v4.media.session.PlaybackStateCompat.CustomAction fromCustomA…
513 …field public static final android.os.Parcelable.Creator<android.support.v4.media.session.PlaybackS…
518 method public android.support.v4.media.session.PlaybackStateCompat.CustomAction build();
519 …method public android.support.v4.media.session.PlaybackStateCompat.CustomAction.Builder setExtras(…
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, lo…
597 …method public androidx.media.DataSourceDesc.Builder setDataSource(android.content.Context, android…
598 …method public androidx.media.DataSourceDesc.Builder setDataSource(android.content.Context, android…
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 …Browser2(android.content.Context, androidx.media.SessionToken2, java.util.concurrent.Executor, and…
621 …public static class MediaBrowser2.BrowserCallback extends androidx.media.MediaController2.Controll…
623 …method public void onChildrenChanged(androidx.media.MediaBrowser2, java.lang.String, int, android.…
624 …blic void onGetChildrenDone(androidx.media.MediaBrowser2, java.lang.String, int, int, java.util.Li…
625 …method public void onGetItemDone(androidx.media.MediaBrowser2, java.lang.String, androidx.media.Me…
626 …method public void onGetLibraryRootDone(androidx.media.MediaBrowser2, android.os.Bundle, java.lang…
627 … void onGetSearchResultDone(androidx.media.MediaBrowser2, java.lang.String, int, int, java.util.Li…
628 …method public void onSearchResultChanged(androidx.media.MediaBrowser2, java.lang.String, int, andr…
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.MediaBrowser…
641 …method public abstract androidx.media.MediaBrowserServiceCompat.BrowserRoot onGetRoot(java.lang.St…
642 …dChildren(java.lang.String, androidx.media.MediaBrowserServiceCompat.Result<java.util.List<android…
643 …dChildren(java.lang.String, androidx.media.MediaBrowserServiceCompat.Result<java.util.List<android…
644 …c void onLoadItem(java.lang.String, androidx.media.MediaBrowserServiceCompat.Result<android.suppor…
645 ….String, android.os.Bundle, androidx.media.MediaBrowserServiceCompat.Result<java.util.List<android…
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.MediaBrowserS…
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.SUGGESTE…
657 … deprecated java.lang.String EXTRA_SUGGESTION_KEYWORDS = "android.service.media.extra.SUGGESTION_K…
668 …troller2(android.content.Context, androidx.media.SessionToken2, java.util.concurrent.Executor, and…
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…
705 …method public void setPlaylist(java.util.List<androidx.media.MediaItem2>, androidx.media.MediaMeta…
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.Sessio…
721 …method public void onBufferingStateChanged(androidx.media.MediaController2, androidx.media.MediaIt…
722 …method public void onConnected(androidx.media.MediaController2, androidx.media.SessionCommandGroup…
723 …method public void onCurrentMediaItemChanged(androidx.media.MediaController2, androidx.media.Media…
724 …method public void onCustomCommand(androidx.media.MediaController2, androidx.media.SessionCommand2…
725 …method public void onCustomLayoutChanged(androidx.media.MediaController2, java.util.List<androidx.…
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.MediaCont…
729 method public void onPlaybackSpeedChanged(androidx.media.MediaController2, float);
730 method public void onPlayerStateChanged(androidx.media.MediaController2, int);
731 …lic void onPlaylistChanged(androidx.media.MediaController2, java.util.List<androidx.media.MediaIte…
732 …method public void onPlaylistMetadataChanged(androidx.media.MediaController2, androidx.media.Media…
733 method public void onRepeatModeChanged(androidx.media.MediaController2, int);
734 …method public void onRoutesInfoChanged(androidx.media.MediaController2, java.util.List<android.os.…
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(jav…
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.MediaSes…
787 …method public void notifyChildrenChanged(androidx.media.MediaSession2.ControllerInfo, java.lang.St…
789 …method public void notifySearchResultChanged(androidx.media.MediaSession2.ControllerInfo, java.lan…
793 …e2.MediaLibrarySession.Builder(androidx.media.MediaLibraryService2, java.util.concurrent.Executor,…
794 method public androidx.media.MediaLibraryService2.MediaLibrarySession build();
795 …method public androidx.media.MediaLibraryService2.MediaLibrarySession.Builder setId(java.lang.Stri…
796 …method public androidx.media.MediaLibraryService2.MediaLibrarySession.Builder setPlayer(androidx.m…
797 …method public androidx.media.MediaLibraryService2.MediaLibrarySession.Builder setPlaylistAgent(and…
798 …method public androidx.media.MediaLibraryService2.MediaLibrarySession.Builder setSessionActivity(a…
799 …method public androidx.media.MediaLibraryService2.MediaLibrarySession.Builder setVolumeProvider(an…
802 …Service2.MediaLibrarySession.MediaLibrarySessionCallback extends androidx.media.MediaSession2.Sess…
804 … java.util.List<androidx.media.MediaItem2> onGetChildren(androidx.media.MediaLibraryService2.Media…
805 …method public androidx.media.MediaItem2 onGetItem(androidx.media.MediaLibraryService2.MediaLibrary…
806 …lic androidx.media.MediaLibraryService2.LibraryRoot onGetLibraryRoot(androidx.media.MediaLibrarySe…
807 …ava.util.List<androidx.media.MediaItem2> onGetSearchResult(androidx.media.MediaLibraryService2.Med…
808 …method public void onSearch(androidx.media.MediaLibraryService2.MediaLibrarySession, androidx.medi…
809 …method public void onSubscribe(androidx.media.MediaLibraryService2.MediaLibrarySession, androidx.m…
810 …method public void onUnsubscribe(androidx.media.MediaLibraryService2.MediaLibrarySession, androidx…
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.AD…
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_…
837 …field public static final java.lang.String METADATA_KEY_ALBUM_ARTIST = "android.media.metadata.ALB…
838 …field public static final java.lang.String METADATA_KEY_ALBUM_ART_URI = "android.media.metadata.AL…
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.B…
844 …field public static final java.lang.String METADATA_KEY_COMPILATION = "android.media.metadata.COMP…
845 …field public static final java.lang.String METADATA_KEY_COMPOSER = "android.media.metadata.COMPOSE…
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…
848 …field public static final java.lang.String METADATA_KEY_DISPLAY_DESCRIPTION = "android.media.metad…
849 …field public static final java.lang.String METADATA_KEY_DISPLAY_ICON = "android.media.metadata.DIS…
850 …field public static final java.lang.String METADATA_KEY_DISPLAY_ICON_URI = "android.media.metadata…
851 …field public static final java.lang.String METADATA_KEY_DISPLAY_SUBTITLE = "android.media.metadata…
852 …field public static final java.lang.String METADATA_KEY_DISPLAY_TITLE = "android.media.metadata.DI…
853 …field public static final java.lang.String METADATA_KEY_DOWNLOAD_STATUS = "android.media.metadata.…
854 …field public static final java.lang.String METADATA_KEY_DURATION = "android.media.metadata.DURATIO…
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_I…
858 …field public static final java.lang.String METADATA_KEY_MEDIA_URI = "android.media.metadata.MEDIA_…
859 …field public static final java.lang.String METADATA_KEY_NUM_TRACKS = "android.media.metadata.NUM_T…
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.TRA…
863 …field public static final java.lang.String METADATA_KEY_USER_RATING = "android.media.metadata.USER…
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.B…
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.Rat…
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.CharSequen…
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 …media.MediaDrm.KeyRequest getDrmKeyRequest(byte[], byte[], java.lang.String, int, java.util.Map<ja…
899 …t java.lang.String getDrmPropertyString(java.lang.String) throws androidx.media.MediaPlayer2.NoDrm…
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 …media.MediaPlayer2.ProvisioningNetworkErrorException, androidx.media.MediaPlayer2.ProvisioningServ…
921 … provideDrmKeyResponse(byte[], byte[]) throws android.media.DeniedByServerException, androidx.medi…
922 … method public abstract void releaseDrm() throws androidx.media.MediaPlayer2.NoDrmSchemeException;
924 …method public abstract void restoreDrmKeys(byte[]) throws androidx.media.MediaPlayer2.NoDrmSchemeE…
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.Medi…
933 … setDrmPropertyString(java.lang.String, java.lang.String) throws androidx.media.MediaPlayer2.NoDrm…
934 …void setMediaPlayer2EventCallback(java.util.concurrent.Executor, androidx.media.MediaPlayer2.Media…
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.…
1012 … method public void onDrmPrepared(androidx.media.MediaPlayer2, androidx.media.DataSourceDesc, int);
1023 …method public void onCallCompleted(androidx.media.MediaPlayer2, androidx.media.DataSourceDesc, 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 …blic void onMediaTimeDiscontinuity(androidx.media.MediaPlayer2, androidx.media.DataSourceDesc, and…
1028 …method public void onSubtitleData(androidx.media.MediaPlayer2, androidx.media.DataSourceDesc, andr…
1029 …blic void onTimedMetaDataAvailable(androidx.media.MediaPlayer2, androidx.media.DataSourceDesc, and…
1030 …method public void onVideoSizeChanged(androidx.media.MediaPlayer2, androidx.media.DataSourceDesc, …
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.MediaDrmE…
1060 …public static class MediaPlayer2.ProvisioningServerErrorException extends android.media.MediaDrmEx…
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 … void registerPlayerEventCallback(java.util.concurrent.Executor, androidx.media.MediaPlayerInterfa…
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.Play…
1118 …method public void onBufferingStateChanged(androidx.media.MediaPlayerInterface, androidx.media.Dat…
1119 …method public void onCurrentDataSourceChanged(androidx.media.MediaPlayerInterface, androidx.media.…
1120 …method public void onMediaPrepared(androidx.media.MediaPlayerInterface, androidx.media.DataSourceD…
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 …oid registerPlaylistEventCallback(java.util.concurrent.Executor, androidx.media.MediaPlaylistAgent…
1140 method public abstract void removePlaylistItem(androidx.media.MediaItem2);
1141 method public abstract void replacePlaylistItem(int, androidx.media.MediaItem2);
1142 …od public abstract void setPlaylist(java.util.List<androidx.media.MediaItem2>, androidx.media.Medi…
1146 method public abstract void skipToPlaylistItem(androidx.media.MediaItem2);
1148 …method public final void unregisterPlaylistEventCallback(androidx.media.MediaPlaylistAgent.Playlis…
1149 method public abstract void updatePlaylistMetadata(androidx.media.MediaMetadata2);
1161 …ic void onPlaylistChanged(androidx.media.MediaPlaylistAgent, java.util.List<androidx.media.MediaIt…
1162 …method public void onPlaylistMetadataChanged(androidx.media.MediaPlaylistAgent, androidx.media.Med…
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 method public androidx.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.…
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.S…
1198 …method public void setAllowedCommands(androidx.media.MediaSession2.ControllerInfo, androidx.media.…
1199 method public void setAudioFocusRequest(android.media.AudioFocusRequest);
1200 …method public void setCustomLayout(androidx.media.MediaSession2.ControllerInfo, java.util.List<and…
1201 …method public void setOnDataSourceMissingHelper(androidx.media.MediaSession2.OnDataSourceMissingHe…
1203 …method public void setPlaylist(java.util.List<androidx.media.MediaItem2>, androidx.media.MediaMeta…
1207 method public void skipToPlaylistItem(androidx.media.MediaItem2);
1209 …hod public void updatePlayer(androidx.media.MediaPlayerInterface, androidx.media.MediaPlaylistAgen…
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.MediaPlaylistAg…
1232 … method public androidx.media.MediaSession2.Builder setSessionActivity(android.app.PendingIntent);
1233 …method public androidx.media.MediaSession2.Builder setSessionCallback(java.util.concurrent.Executo…
1234 …method public androidx.media.MediaSession2.Builder setVolumeProvider(androidx.media.VolumeProvider…
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.Session…
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.MediaSessi…
1266 …c void onBufferingStateChanged(androidx.media.MediaSession2, androidx.media.MediaPlayerInterface, …
1267 …c boolean onCommandRequest(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerIn…
1268 …method public androidx.media.SessionCommandGroup2 onConnect(androidx.media.MediaSession2, androidx…
1269 …void onCurrentMediaItemChanged(androidx.media.MediaSession2, androidx.media.MediaPlayerInterface, …
1270 …ublic void onCustomCommand(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerIn…
1271 …method public void onDisconnected(androidx.media.MediaSession2, androidx.media.MediaSession2.Contr…
1272 …method public void onFastForward(androidx.media.MediaSession2, androidx.media.MediaSession2.Contro…
1273 …od public void onMediaPrepared(androidx.media.MediaSession2, androidx.media.MediaPlayerInterface, …
1274 …method public void onPlayFromMediaId(androidx.media.MediaSession2, androidx.media.MediaSession2.Co…
1275 …method public void onPlayFromSearch(androidx.media.MediaSession2, androidx.media.MediaSession2.Con…
1276 …method public void onPlayFromUri(androidx.media.MediaSession2, androidx.media.MediaSession2.Contro…
1277 …method public void onPlaybackSpeedChanged(androidx.media.MediaSession2, androidx.media.MediaPlayer…
1278 …method public void onPlayerStateChanged(androidx.media.MediaSession2, androidx.media.MediaPlayerIn…
1279 …istChanged(androidx.media.MediaSession2, androidx.media.MediaPlaylistAgent, java.util.List<android…
1280 … void onPlaylistMetadataChanged(androidx.media.MediaSession2, androidx.media.MediaPlaylistAgent, a…
1281 …method public void onPrepareFromMediaId(androidx.media.MediaSession2, androidx.media.MediaSession2…
1282 …method public void onPrepareFromSearch(androidx.media.MediaSession2, androidx.media.MediaSession2.…
1283 …method public void onPrepareFromUri(androidx.media.MediaSession2, androidx.media.MediaSession2.Con…
1284 …method public void onRepeatModeChanged(androidx.media.MediaSession2, androidx.media.MediaPlaylistA…
1285 …method public void onRewind(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerI…
1286 …method public void onSeekCompleted(androidx.media.MediaSession2, androidx.media.MediaPlayerInterfa…
1287 …method public void onSelectRoute(androidx.media.MediaSession2, androidx.media.MediaSession2.Contro…
1288 … void onSetRating(androidx.media.MediaSession2, androidx.media.MediaSession2.ControllerInfo, java.…
1289 …method public void onShuffleModeChanged(androidx.media.MediaSession2, androidx.media.MediaPlaylist…
1290 …method public void onSubscribeRoutesInfo(androidx.media.MediaSession2, androidx.media.MediaSession…
1291 …method public void onUnsubscribeRoutesInfo(androidx.media.MediaSession2, androidx.media.MediaSessi…
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.SessionCommand2);
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.No…
1456 …method public static android.support.v4.media.session.MediaSessionCompat.Token getMediaSession(and…
1457 …method public androidx.media.app.NotificationCompat.MediaStyle setCancelButtonIntent(android.app.P…
1458 …method public androidx.media.app.NotificationCompat.MediaStyle setMediaSession(android.support.v4.…
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.MediaSess…