VoiceApiClient class
Constructors
- VoiceApiClient({required String dataBaseUrl, required String authToken})
Properties
- acaps ↔ RTCRtpCapabilities?
-
getter/setter pair
- audio ↔ bool
-
getter/setter pair
- audioDropdownValue ↔ String
-
getter/setter pair
- audioRtcp ↔ RTCRtpTransceiver?
-
getter/setter pair
- audioWavController ↔ RecorderController
-
getter/setter pair
- authToken → String
-
final
- buffer ↔ List
-
getter/setter pair
- bufferTimer ↔ int
-
getter/setter pair
- channel ↔ dynamic
-
getter/setter pair
- connectionEstablished ↔ bool
-
getter/setter pair
- dataBaseUrl → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCaller ↔ bool
-
getter/setter pair
- isMentorSpeaking ↔ bool
-
getter/setter pair
- isRecording ↔ bool
-
getter/setter pair
- processTimer ↔ bool
-
getter/setter pair
- prompt ↔ bool
-
getter/setter pair
- remoteRTCVideoRenderer → RTCVideoRenderer
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streamTimer ↔ Timer
-
getter/setter pair
- uuid ↔ String
-
getter/setter pair
- uuid_ ↔ Uuid
-
getter/setter pair
Methods
-
createdDescription(
dynamic description) → void -
dispose(
) → void -
gotIceCandidate(
RTCIceCandidate event) → void -
gotMessageFromServer(
dynamic message) → Future< void> -
gotRemoteStream(
RTCTrackEvent event) → Future< void> -
handleVoiceRecord(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
selectAudioOutput(
) → Future< void> -
sendBufferToMentor(
) → Future< void> -
setMentorSpeaking(
) → dynamic -
setStoppedMentorSpeaking(
) → dynamic -
start_recording(
) → void -
stop_recording(
) → void -
stopMentor(
) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
-
voiceCall(
{required String name, required String pathway, required String tenant, required String username, required String sessionId, required String token, required String baseURL, Function? onConnected, Function? onMentorSpeaking, Function? onMentorStoppedSpeaking, Function? onBufferSent, Function? onVoiceRecordingStarted, Function? onVoiceRecordingStopped, dynamic onProcessError(String? error)?}) → Future< Map< String, dynamic> >
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited