GoogleCastOptionsAndroid class

Android-specific cast options configuration.

Inheritance

Constructors

GoogleCastOptionsAndroid({required String appId, bool stopCastingOnAppTerminated = false})
Creates a new GoogleCastOptionsAndroid.

Properties

appId → String
The Cast application ID.
final
disableAnalyticsLogging → bool
Whether to disable analytics logging.
finalinherited
disableDiscoveryAutostart → bool
Whether to disable discovery autostart.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
physicalVolumeButtonsWillControlDeviceVolume → bool
Whether physical volume buttons will control device volume.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startDiscoveryAfterFirstTapOnCastButton → bool
Whether to start discovery after first tap on cast button.
finalinherited
stopCastingOnAppTerminated → bool
Whether to automatically stop casting and end the session when the app is killed/terminated.
finalinherited
stopReceiverApplicationWhenEndingSession → bool
Whether to stop receiver application when ending session.
finalinherited
suspendSessionsWhenBackgrounded → bool
Whether to suspend sessions when backgrounded.
finalinherited

Methods

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

Operators

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