SonioxWebsocket class
Constructors
- SonioxWebsocket(SonioxSessionConfig config, {required WebsocketContract websocket})
Properties
- config → SonioxSessionConfig
-
final
-
connectionStream
→ Stream<
bool> -
no setter
-
errors
→ Stream<
SonioxError> -
Stream broadcasting SonioxError objects emitted by the server.
no setter
-
finalTranscription
→ Stream<
String> -
Stream of final transcription text extracted from SonioxTranscription.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConnected ↔ bool
-
getter/setter pair
- isConnecting ↔ bool
-
getter/setter pair
-
nonFinaltranscription
→ Stream<
String> -
Stream of non‑final transcription text extracted from SonioxTranscription.
no setter
-
rawMessages
→ Stream<
String> -
Stream broadcasting raw JSON messages received from the WebSocket.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
transcription
→ Stream<
SonioxTranscription> -
no setter
- websocket → WebsocketContract
-
final
Methods
-
addAudio(
Uint8List data) → void -
connect(
) → void -
disconnect(
) → void -
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