Lines Matching defs:mediaId
72 private MediaItem2(@NonNull String mediaId, @Nullable DataSourceDesc dsd,
74 this(mediaId, dsd, metadata, flags, null);
77 private MediaItem2(@NonNull String mediaId, @Nullable DataSourceDesc dsd,
79 if (mediaId == null) {
80 throw new IllegalArgumentException("mediaId shouldn't be null");
82 if (metadata != null && !TextUtils.equals(mediaId, metadata.getMediaId())) {
86 mId = mediaId;
183 throw new IllegalArgumentException("metadata's id should be matched with the mediaId");
255 * @param mediaId media id
258 public Builder setMediaId(@Nullable String mediaId) {
259 mMediaId = mediaId;