updatePreloadChannelToken abstract method

Future<void> updatePreloadChannelToken(
  1. String token
)

Updates the wildcard token for preloading channels.

You need to maintain the life cycle of the wildcard token by yourself. When the token expires, you need to generate a new wildcard token and then call this method to pass in the new token.

  • 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.

Implementation

Future<void> updatePreloadChannelToken(String token);