android.media.browse.MediaBrowser.MediaItem Java Examples

The following examples show how to use android.media.browse.MediaBrowser.MediaItem. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ExoPlayerAudio.java    From ChannelSurfer with MIT License 4 votes vote down vote up
@Override
public void onLoadChildren(final String parentMediaId, final Result<List<MediaItem>> result) {
    result.sendResult(new ArrayList<MediaItem>());
}
 
Example #2
Source File: MusicService.java    From android-music-player with Apache License 2.0 4 votes vote down vote up
@Override
public void onLoadChildren(final String parentMediaId, final Result<List<MediaItem>> result) {
    result.sendResult(MusicLibrary.getMediaItems());
}
 
Example #3
Source File: MusicService.java    From io2015-codelabs with Apache License 2.0 4 votes vote down vote up
@Override
public void onLoadChildren(final String parentMediaId, final Result<List<MediaItem>> result) {
    result.sendResult(MusicLibrary.getMediaItems());
}