onConnectionBanned property

(void Function(RtcConnection connection)?) onConnectionBanned
final

Occurs when the connection is banned by the Agora server. Deprecated:Please use onConnectionStateChanged instead.

  • connection The connection information. See RtcConnection .

Implementation

final void Function(RtcConnection connection)? onConnectionBanned;