ConnectionServiceAudioRouteEvent class

Event emitted when the call's audio route changes via Telecom's ConnectionService (Android only) — the single source of truth for the available outputs and the currently selected one.

Inheritance

Constructors

ConnectionServiceAudioRouteEvent(int sessionId, List availablePorts, Map? currentPort)

Properties

availablePorts List
Raw available output ports ({uid, name, kind}).
final
currentPort Map?
Raw currently selected output port ({uid, name, kind}), if any.
final
data Map<String, dynamic>?
Optional data associated with the event
finalinherited
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the event (e.g., "onRegisterSuccess", "onInviteConnected")
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionId int
The session ID of the call
final
timestamp DateTime
Timestamp when the event was created
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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