requestToken property

EmptyCallback? requestToken
getter/setter pair

Occurs when the token expires. When the token expires during a call, the SDK triggers this callback to remind the app to renew the token. Once you receive this callback, generate a new token on your app server, and call joinChannel to rejoin the channel.

Implementation

EmptyCallback? requestToken;