docs.unity3d.com
    Show / Hide Table of Contents

    Class RemoteConfigWebApiClient

    This is a utility class for Remote Config to handle all Remote Config CRUD operations.

    Inheritance
    Object
    RemoteConfigWebApiClient
    Namespace: Unity.RemoteConfig.Editor
    Syntax
    public static class RemoteConfigWebApiClient

    Properties

    Name Description
    webRequestsAreDone

    Checks if there are any unfinished web requests. Returns true if all web requests are done.

    Methods

    Name Description
    DeleteConfig(String, String)

    Sends a DELETE request to delete aconfig.

    FetchConfigs(String, String, Action<Exception>)

    Fetches all configs for the given environment ID.

    FetchDefaultEnvironment(String, Action<Exception>)

    Fetches default environment for the current project.

    FetchEnvironments(String, Action<Exception>)

    Fetches all environments for the current project.

    PostConfig(String, String, JArray, Action<Exception>)

    Pushes a new config to the server in the given environment.

    PutConfig(String, String, String, JArray)

    Pushes updates to the given existing config to the server for the given environment.

    Events

    Name Description
    fetchConfigsFinished

    Action upon fetching config finishes. Passes config object.

    fetchDefaultEnvironmentFinished

    Action upon fetching default environment. Passes default environment id.

    fetchEnvironmentsFinished

    Action upon fetching of environments is finished. Passes an array of environments.

    postConfigRequestFinished

    Action upon posting config (_PostConfig) request finishes. Passes configId.

    rcRequestFailed

    Action upon request fails. Passes request.responseCode, request.error.

    settingsRequestFinished

    Action upon updating config (_PutConfig) request finishes.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023