XAudioCaptureException class

Thrown by XAudioCapture.start when the tap cannot open, and by XAudioCapture.sources when the platform reply breaks the wire contract.

code is one of permission_denied, no_input_device, unknown_source, start_failed, unsupported, or the Dart-owned invalid_response, whose message names the offending field.

Implemented types

Constructors

XAudioCaptureException(String code, [String? message])
Creates an exception with a wire code and an optional message.
const

Properties

code → String
Machine-readable failure kind.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String?
Platform-supplied detail, when there is one.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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