docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ApiService

    Provides functionality to build the different types of clients.

    Inheritance
    object
    ApiService
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis
    Assembly: solution.dll
    Syntax
    public static class ApiService

    Methods

    CreateGameClient(IApiClient)

    A client for game apis using player authentication

    Declaration
    public static IGameClient CreateGameClient(IApiClient apiClient = null)
    Parameters
    Type Name Description
    IApiClient apiClient

    Optional custom api client.

    Returns
    Type Description
    IGameClient

    An instance of a game client

    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)