docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RemoteConfigSettingsApi

    Represents a collection of functions to interact with the API endpoints

    Inheritance
    object
    RemoteConfigSettingsApi
    Implements
    IRemoteConfigSettingsApi
    IApiAccessor
    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.RemoteConfig
    Assembly: solution.dll
    Syntax
    public class RemoteConfigSettingsApi : IRemoteConfigSettingsApi, IApiAccessor

    Constructors

    RemoteConfigSettingsApi(IApiClient)

    Initializes a new instance of the RemoteConfigSettingsApi class using a Configuration object and client instance.

    Declaration
    public RemoteConfigSettingsApi(IApiClient apiClient)
    Parameters
    Type Name Description
    IApiClient apiClient

    The client interface for synchronous API access.

    RemoteConfigSettingsApi(IApiClient, IApiConfiguration)

    Initializes a new instance of the RemoteConfigSettingsApi class using a Configuration object and client instance.

    Declaration
    public RemoteConfigSettingsApi(IApiClient apiClient, IApiConfiguration apiConfiguration)
    Parameters
    Type Name Description
    IApiClient apiClient

    The client interface for synchronous API access.

    IApiConfiguration apiConfiguration

    The configuration object.

    Properties

    Client

    The client for accessing this underlying API asynchronously.

    Declaration
    public IApiClient Client { get; }
    Property Value
    Type Description
    IApiClient

    Configuration

    Gets the configuration object

    Declaration
    public IApiConfiguration Configuration { get; }
    Property Value
    Type Description
    IApiConfiguration

    An instance of the Configuration

    Methods

    AssignSettings(SettingsDeliveryRequest, CancellationToken)

    Request Player Settings with optional attributes for use in campaign (game overrides).

    Declaration
    public ApiOperation<SettingsDeliveryResponse> AssignSettings(SettingsDeliveryRequest settingsRequest, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    SettingsDeliveryRequest settingsRequest

    Request to assign settings for a user.

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    ApiOperation<SettingsDeliveryResponse>

    The operation

    AssignSettingsGet(string, string, string, List<string>, List<string>, CancellationToken)

    Get Player Settings

    Declaration
    public ApiOperation<SettingsDeliveryResponse> AssignSettingsGet(string projectId, string environmentId = null, string configType = null, List<string> key = null, List<string> type = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string projectId

    projectId for the requesting Unity project

    string environmentId

    optional environmentId to choose a non-default environment (optional)

    string configType

    optional configType (optional)

    List<string> key

    optional filter to include settings with keys containing any of the specified values (optional)

    List<string> type

    optional filter to include settings with specific types in the response (optional)

    CancellationToken cancellationToken

    Cancellation Token to cancel the request.

    Returns
    Type Description
    ApiOperation<SettingsDeliveryResponse>

    The operation

    GetBasePath()

    Gets the base path of the API client.

    Declaration
    public string GetBasePath()
    Returns
    Type Description
    string

    The base path

    Implements

    IRemoteConfigSettingsApi
    IApiAccessor
    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)