Class MediaItem.LocalConfiguration

    • Field Detail

      • uri

        public final Uri uri
        The Uri.
      • mimeType

        @Nullable
        public final String mimeType
        The optional MIME type of the item, or null if unspecified.

        The MIME type can be used to disambiguate media items that have a URI which does not allow to infer the actual media type.

      • streamKeys

        public final List<StreamKey> streamKeys
        Optional stream keys by which the manifest is filtered.
      • customCacheKey

        @Nullable
        public final String customCacheKey
        Optional custom cache key (only used for progressive streams).
      • tag

        @Nullable
        public final Object tag
        Optional tag for custom attributes. The tag for the media source which will be published in the com.google.android.exoplayer2.Timeline of the source as com.google.android.exoplayer2.Timeline.Window#tag.
    • Method Detail

      • equals

        public boolean equals​(@Nullable
                              Object obj)
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object