UrlMatcherDefault class
This file provides a default implementation of the UrlMatcher abstract class, offering concrete logic to identify and process various types of media-related URIs.
- Inheritance
-
- Object
- UrlMatcher
- UrlMatcherDefault
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
matchCacheKey(
Uri uri) → Uri -
Returns a Uri that represents the cache key for the given
uri
. This can be used to uniquely identify cached media resources.override -
matchM3u8(
Uri uri) → bool -
Returns
true
if the givenuri
matches the.m3u8
playlist file format.override -
matchM3u8Key(
Uri uri) → bool -
Returns
true
if the givenuri
matches the format of an.m3u8
encryption key.override -
matchM3u8Segment(
Uri uri) → bool -
Returns
true
if the givenuri
matches the format of an.m3u8
media segment, such as a.ts
file.override -
matchMp4(
Uri uri) → bool -
Returns
true
if the givenuri
matches the.mp4
file format.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited