Class InitializationOptionsExtensions
Utilities to simplify setting options related to this SDK through code.
Inherited Members
Namespace: Unity.Services.Vivox
Assembly: Unity.Services.Vivox.dll
Syntax
public static class InitializationOptionsExtensions
Methods
SetVivoxCredentials(InitializationOptions, string, string, string, string)
An extension to set the credentials for the Vivox SDK.
Declaration
public static InitializationOptions SetVivoxCredentials(this InitializationOptions self, string server, string domain, string issuer, string tokenKey = "")
Parameters
Type | Name | Description |
---|---|---|
InitializationOptions | self | The initialization options that are being extended. |
string | server | The Vivox Server value to set the credentials for. |
string | domain | The Vivox Domain value to set the credentials for. |
string | issuer | The Vivox Token Issuer to set the credentials for. |
string | tokenKey | This is optional because a developer could be leveraging Unity Authentication tokens or vending tokens server-side. If a Vivox Key is not supplied and proper server-side Vivox Access Token generation is not setup, the Vivox package will not function properly. |
Returns
Type | Description |
---|---|
InitializationOptions | Return |