DataSourceType enum

The way in which the video was originally loaded.

This has nothing to do with the video's file type. It's just the place from which the video is fetched from.

Inheritance
Available extensions

Values

asset → const DataSourceType

The video was included in the app's asset files.

network → const DataSourceType

The video was downloaded from the internet.

file → const DataSourceType

The video was loaded off of the local filesystem.

contentUri → const DataSourceType

The video is available via contentUri. Android only.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

values → const List<DataSourceType>
A constant List of the values in this enum, in order of their declaration.