Class ServiceClientManager

    Definition

    Namespace:
    Tizen.AIAvatar
    Assembly:
    Tizen.AIAvatar.dll

    Manages REST clients for different endpoints based on the AI service configuration.

    public class ServiceClientManager : IDisposable
    Inheritance
    object
    ServiceClientManager

    Constructors

    View Source

    ServiceClientManager(AIServiceConfiguration)

    Initializes a new instance of the ServiceClientManager class.

    Declaration
    public ServiceClientManager(AIServiceConfiguration config)
    Parameters
    Type Name Description
    AIServiceConfiguration config

    The AI service configuration.

    Methods

    View Source

    Dispose()

    Releases all resources used by the ServiceClientManager.

    Declaration
    public void Dispose()
    View Source

    GetClient(string)

    Retrieves or creates a REST client for the specified endpoint.

    Declaration
    public IRestClient GetClient(string endpoint)
    Parameters
    Type Name Description
    string endpoint

    The base URI of the endpoint.

    Returns
    Type Description
    IRestClient

    The REST client for the specified endpoint.

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX