TelnyxMediaRecoveryErrorEvent class

Media recovery error event — emitted when getUserMedia fails during inbound call answer and mediaPermissionsRecovery is enabled.

The app can call resume to retry media acquisition after fixing permissions, or reject to abort the call.

Constructors

TelnyxMediaRecoveryErrorEvent({required TelnyxError error, required String sessionId, required String callId, required int retryDeadline, required Future<void> resume(), required Future<void> reject()})
Creates a media recovery error event with resume and reject callbacks.

Properties

callId → String
Inbound call being recovered.
final
error → TelnyxError
Structured media error for the failed initial getUserMedia attempt.
final
hashCode → int
The hash code for this object.
no setterinherited
recoverable → bool
Always true for media recovery events.
final
reject → Future<void> Function()
Abort recovery and let the call fail immediately.
final
resume → Future<void> Function()
Retry media acquisition after the app resolves permissions.
final
retryDeadline → int
Epoch timestamp in ms after which the SDK will stop waiting.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionId → String
Current SDK session identifier.
final

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