CastMediaStreamType enum
Represents the type of media stream for Google Cast playback.
This enum defines the different types of media streams that can be played through Google Cast, affecting how the media is handled and controlled.
- Inheritance
- Available extensions
Values
- none → const CastMediaStreamType
-
No stream type specified or unknown.
const CastMediaStreamType('NONE') - buffered → const CastMediaStreamType
-
Pre-recorded content that can be buffered and seeked.
const CastMediaStreamType('BUFFERED') - live → const CastMediaStreamType
-
Live streaming content that cannot be seeked.
const CastMediaStreamType('LIVE')
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
- value → String
-
The string value used in Cast protocol communication.
final
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<
CastMediaStreamType> - A constant List of the values in this enum, in order of their declaration.