com.bandwidth.MessagingClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bandwidth-sdk Show documentation
Show all versions of bandwidth-sdk Show documentation
The official client SDK for Bandwidth's Voice, Messaging, MFA, and WebRTC APIs
/*
* 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;
}
}