onUserSpeaking property
Stream
get
onUserSpeaking
A stream that emits events when a user starts speaking.
This stream listens for events indicating that a user has started speaking. Each event contains information about the user who started speaking. Use this stream to update your UI or perform actions upon user speaking.
Usage example:
Mirrorfly.onUserSpeaking.listen((userSpeakingData) {
// Handle the event when a user starts speaking
print("User started speaking: $userSpeakingData");
});
Implementation
static Stream<dynamic> get onUserSpeaking =>
FlyChatFlutterPlatform.instance.onUserSpeaking;