IOSGoogleCastOptions class

iOS-specific Google Cast options.

This class extends GoogleCastOptions to provide additional configuration for iOS, such as specifying discovery criteria for Cast devices.

Inheritance

Constructors

IOSGoogleCastOptions(GoogleCastDiscoveryCriteriaInitialize _discoveryCriteria, {bool physicalVolumeButtonsWillControlDeviceVolume = true, bool suspendSessionsWhenBackgrounded = true, bool disableDiscoveryAutostart = false, bool disableAnalyticsLogging = false, bool stopReceiverApplicationWhenEndingSession = false, bool startDiscoveryAfterFirstTapOnCastButton = true, bool stopCastingOnAppTerminated = false})
Creates an instance of IOSGoogleCastOptions with the given discoveryCriteria.

Properties

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 iOS Cast 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