CastContext class Null safety

Class wrapping the global context fot the Cast SDK

Constructors

CastContext(CastHostApi _hostApi)

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
sessionManager ↔ SessionManager
Returns the SessionManager.
read / write
state → ValueListenable<CastState>
Listenable connection state of the cast device
read-only

Methods

dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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