docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class InitializationOptionsExtensions

    Utilities to simplify setting options related to this SDK through code.

    Inheritance
    object
    InitializationOptionsExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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 self. Fluent interface pattern to make it easier to chain set options operations.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)