requestToken property
EmptyCallback?
requestToken
getter/setter pair
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 RtcChannel.renewToken to renew the token.
The EmptyCallback
typedef does not include any parameter.
Implementation
EmptyCallback? requestToken;