Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ChatConnectEventListener

export notify

Hierarchy

  • ChatConnectEventListener

Index

Methods

  • onAppActiveNumberReachLimit(): void
  • The number of daily active users (DAU) or monthly active users (MAU) for the app has reached the upper limit.

    The user is disconnected by the server.

    Returns void

  • onConnected(): void
  • Occurs when the SDK connects to the chat server successfully.

    Returns void

  • onDisconnected(): void
  • onTokenDidExpire(): void
  • Occurs when the Agora token has expired.

    Returns void

  • onTokenWillExpire(): void
  • Occurs when the Agora token is about to expire.

    Returns void

  • onUserAuthenticationFailed(): void
  • Occurs when the current chat user authentication failed.

    This callback is triggered in the following typical scenarios: The token expires or token authentication fails.

    The user is disconnected by the server.

    Returns void

  • onUserDidChangePassword(): void
  • Occurs when the current chat user changed the password.

    The user is disconnected by the server.

    Returns void

  • onUserDidForbidByServer(): void
  • Occurs when the current chat user is banned from accessing the server.

    The user is disconnected by the server.

    Returns void

  • onUserDidLoginFromOtherDevice(deviceName?: string): void
  • Occurs when the current user account is logged in to another device.

    The user is disconnected by the server.

    Parameters

    • Optional deviceName: string

    Returns void

  • onUserDidLoginTooManyDevice(): void
  • Occurs when the current chat user logged in to many devices.

    The user is disconnected by the server.

    Returns void

  • onUserDidRemoveFromServer(): void
  • Occurs when the current chat user is removed from the server.

    The user is disconnected by the server.

    Returns void

  • onUserKickedByOtherDevice(): void
  • Occurs when the current chat user is kicked out of the app by another device.

    The user is disconnected by the server.

    Returns void

Generated using TypeDoc