AvatarController class

Properties

hashCode → int
The hash code for this object.
no setterinherited
onConnectionState ↔ void Function(ConnectionState state, String? errorMessage)?
getter/setter pair
onConversationState ↔ void Function(ConversationState state)?
getter/setter pair
onError ↔ void Function(AvatarError error)?
getter/setter pair
onFirstRendering ↔ void Function()?
getter/setter pair
onFrameRateInfo ↔ void Function(FrameRateInfo info)?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → Future<void>
contentTransform() → Future<Transform>
exportBitmap() → Future<Uint8List?>
Exports the current rendering frame as PNG image bytes. Returns null if not rendering or avatar is not initialized.
frameRateMonitorEnabled() → Future<bool>
getAudioTime() → Future<double>
Playback time of the current audio session, in seconds. Resets to 0 on each new playback round. Returns 0 when not playing.
interrupt() → Future<void>
isOpaque() → Future<bool>
isRendering() → Future<bool>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → Future<void>
pauseRendering() → Future<void>
pointCount() → Future<int>
resume() → Future<void>
resumeRendering() → Future<void>
send(Uint8List audioData, {bool end = false}) → Future<String>
setContentTransform(Transform transform) → Future<void>
setFrameRateMonitorEnabled(bool enabled) → Future<void>
setOpaque(bool opaque) → Future<void>
setVolume(double volume) → Future<void>
start() → Future<void>
toString() → String
A string representation of this object.
inherited
volume() → Future<double>
yieldAnimations(List<Uint8List> animations, {required String conversationID}) → Future<bool>
yieldAudioData(Uint8List audioData, {bool end = false, AudioFormat? audioFormat}) → Future<String>

Operators

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