PlayerConfig class

Configures a new Player instance. Must not be modified after it was used to create a Player instance.

Inheritance
Annotations

Constructors

PlayerConfig({String? key, StyleConfig? styleConfig = const StyleConfig(), PlaybackConfig? playbackConfig = const PlaybackConfig(), LicensingConfig? licensingConfig = const LicensingConfig(), LiveConfig liveConfig = const LiveConfig(), AnalyticsConfig? analyticsConfig, RemoteControlConfig? remoteControlConfig})
const
PlayerConfig.fromJson(Map<String, dynamic> json)
factory

Properties

analyticsConfig AnalyticsConfig?
Configuration for the Bitmovin Analytics Collector.
final
hashCode int
The hash code for this object.
no setterinherited
key String?
A Bitmovin player license key that can be found in the Bitmovin dashboard.
final
licensingConfig LicensingConfig?
Configures license evaluation. A default LicensingConfig is used if not set here.
final
liveConfig LiveConfig
Configures behavior when playing live content. A default LiveConfig is set initially
final
playbackConfig PlaybackConfig?
Configures playback behavior. A default PlaybackConfig is used if not set here.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setteroverride
remoteControlConfig RemoteControlConfig?
Configures remote playback functionality.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
styleConfig StyleConfig?
Configures visual presentation and behavior of the Player UI. A default StyleConfig is used if not set here.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited