updatePreloadChannelToken abstract method

Future<void> updatePreloadChannelToken(
  1. String token
)

Updates the wildcard token for the preloaded channel.

You need to manage the lifecycle of the wildcard token yourself. When the wildcard token expires, you need to generate a new one on your server and pass it in using this method.

  • token The new token.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly. See Error Codes for details and resolution suggestions.

Implementation

Future<void> updatePreloadChannelToken(String token);