CastContext class

Class wrapping the global context fot the Cast SDK

Constructors

CastContext(CastHostApi _hostApi)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionManager SessionManager
Returns the SessionManager.
getter/setter pair
state ValueListenable<CastState>
Listenable connection state of the cast device
no setter

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onCastStateChanged(int castState) → void
Internal method that shouldn't be visible
showCastChooserDialog() → void
Display the native dialog to select the cast device to connect
toString() String
A string representation of this object.
inherited

Operators

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