requestToken property Null safety

EmptyCallback? requestToken
read / write

Occurs when the token has expired.

After a token is specified when joining the channel, the token expires after a certain period of time, and a new token is required to reconnect to the server. This callback notifies the app to generate a new token and call RtcEngine.joinChannel to rejoin the channel with the new token.

The EmptyCallback typedef does not include any parameter.


EmptyCallback? requestToken;