ドキュメント

サポート

Vivox Core SDK

Vivox Core SDK

Authentication-based token generation

Learn about authentication-based token generation.
読み終わるまでの所要時間 1 分最終更新 23日前

Authentication-based token generation is the simplest way to handle token generation. Token generation will be handled automatically when the Unity Authentication package is present in a project that the Vivox SDK is in and you sign into Authentication before calling
VivoxService.Instance.Initialize
.
The following code sample shows the setup:
using Unity.Services.Authentication;public class VoiceManager : MonoBehaviour{ async void Start() { await UnityServices.InitializeAsync(); await AuthenticationService.Instance.SignInAnonymouslyAsync(); await VivoxService.Instance.InitializeAsync(); }}