Searched refs:mediaMetadata (Results 1 – 3 of 3) sorted by relevance
195 MediaMetadata mediaMetadata = mMediaController.getMetadata(); in getMediaId() local196 return mediaMetadata == null in getMediaId()198 : mediaMetadata.getString(MediaMetadata.METADATA_KEY_MEDIA_ID); in getMediaId()203 MediaMetadata mediaMetadata = mMediaController.getMetadata(); in getMediaTitle() local204 return mediaMetadata == null in getMediaTitle()206 : mediaMetadata.getString(MediaMetadata.METADATA_KEY_TITLE); in getMediaTitle()211 MediaMetadata mediaMetadata = mMediaController.getMetadata(); in getMediaSubtitle() local212 return mediaMetadata == null in getMediaSubtitle()214 : mediaMetadata.getString(MediaMetadata.METADATA_KEY_DISPLAY_SUBTITLE); in getMediaSubtitle()219 MediaMetadata mediaMetadata = mMediaController.getMetadata(); in getMediaDuration() local[all …]
151 private Map<String, Object> asMap(MediaMetadata mediaMetadata) { in asMap() argument152 return Maps.asMap(mediaMetadata.keySet(), key -> mediaMetadata.getString(key)); in asMap()
454 public void onMetadataChanged(@Nullable MediaMetadata mediaMetadata) { in onMetadataChanged() argument469 + Util.toMetadata(mContext, mediaMetadata)); in onMetadataChanged()471 if (!Objects.equals(mediaMetadata, getMetadata())) { in onMetadataChanged()483 if (Objects.equals(Util.toMetadata(mContext, mediaMetadata), mCurrentData.metadata)) { in onMetadataChanged()