RemoteControlConfig class
Configures remote playback behavior.
- Inheritance
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
RemoteControlConfig({String? receiverStylesheetUrl, Map<
String, String> customReceiverConfig = const {}, bool isAirPlayEnabled = true, bool isCastEnabled = true, bool sendManifestRequestsWithCredentials = false, bool sendSegmentRequestsWithCredentials = false, bool sendDrmLicenseRequestsWithCredentials = false}) -
const
-
RemoteControlConfig.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
customReceiverConfig
→ Map<
String, String> -
A map containing custom configuration values that are sent to the remote
control receiver.
Default value is an empty map.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAirPlayEnabled → bool
-
Whether the AirPlay option is enabled or not. Default value is
true
.final - isCastEnabled → bool
-
Whether casting is enabled.
Default value is
true
.final -
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- receiverStylesheetUrl → String?
-
A URL to a CSS file the receiver app loads to style the receiver app.
Default value is
null
, indicating that the default CSS of the receiver app will be used.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendDrmLicenseRequestsWithCredentials → bool
-
Indicates whether cookies and credentials will be sent along DRM licence
requests on the cast receiver.
Default value is
false
.final - sendManifestRequestsWithCredentials → bool
-
Indicates whether cookies and credentials will be sent along manifest
requests on the cast receiver.
Default value is
false
.final - sendSegmentRequestsWithCredentials → bool
-
Indicates whether cookies and credentials will be sent along segment
requests on the cast receiver.
Default value is
false
.final - stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
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