ChatClientDeprecated extension Null safety

on

Properties

currentUsername String?
Gets the current logged-in username.
@Deprecated("Use #currentUserId to instead"), read-only

Methods

addConnectionListener(ChatConnectionListener listener) → void
Adds the connection listener of chat server.
@Deprecated("Use #addConnectionEventHandler to instead")
addCustomListener(ChatCustomListener listener) → void
Adds a custom listener to receive data from iOS or Android devices.
@Deprecated("Use #customEventHandler to instead")
addMultiDeviceListener(ChatMultiDeviceListener listener) → void
Adds the multi-device listener.
@Deprecated("Use #addMultiDeviceEventHandler to instead")
clearAllConnectionListeners() → void
Removes all chat server connection listeners.
@Deprecated("Use #clearConnectionEventHandles to instead")
clearAllCustomListeners() → void
Removes all custom listeners.
clearAllMultiDeviceListeners() → void
Removes all multi-device listener.
@Deprecated("Use #clearMultiDeviceEventHandles to instead")
getCurrentUsername() Future<String?>
Gets the current login user ID.
@Deprecated("Use #getCurrentUserId to instead")
removeConnectionListener(ChatConnectionListener listener) → void
Removes the chat server connection listener.
@Deprecated("Use #removeConnectionEventHandler to instead")
removeCustomListener(ChatCustomListener listener) → void
Removes the custom listener.
removeMultiDeviceListener(ChatMultiDeviceListener listener) → void
Removes the multi-device listener.
@Deprecated("Use #removeMultiDeviceEventHandler to instead")