All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bandwidth.MessagingClient Maven / Gradle / Ivy

Go to download

The official client SDK for Bandwidth's Voice, Messaging, MFA, and WebRTC APIs

There is a newer version: 12.0.1
Show newest version
/*
 * BandwidthLib
 *
 * This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
 */

package com.bandwidth;

import com.bandwidth.http.client.HttpCallback;
import com.bandwidth.http.client.OkClient;
import com.bandwidth.messaging.controllers.*;

public final class MessagingClient {
    private final BandwidthClient config;

    /**
     * Private store for controllers.
     */
    private APIController client;

    /**
     * Default constructor.
     */
    public MessagingClient(BandwidthClient config, HttpCallback httpCallback) {
        this.config = config;
        client = new APIController(config, config.getHttpClient(), config.getAuthManagers(),
                httpCallback);
    }

    public static void shutdown() {
        OkClient.shutdown();
    }

    public APIController getAPIController() {
        return client;
    }

    public Configuration getConfiguration() {
        return config;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy