use of com.azure.android.communication.common.CommunicationTokenRefreshOptions in project communication-services-android-calling-hero by Azure-Samples.
the class CallingContext method createTokenCredential.
// endregion
// region Private Methods
private void createTokenCredential() {
final CommunicationTokenCredential credential = new CommunicationTokenCredential(new CommunicationTokenRefreshOptions(tokenFetcher, true));
communicationUserCredentialCompletableFuture.complete(credential);
}
Aggregations