ChannelProvider Interface

public interface ChannelProvider

ChannelProvider interface. This interface allows Bots to provide their own implementation for the configuration parameters to connect to a Bot. Framework channel service.

Method Summary

Modifier and Type Method and Description
abstract java.util.concurrent.CompletableFuture<java.lang.String> getChannelService()

Gets the channel service property for this channel provider.

abstract boolean isGovernment()

Gets a value of whether this provider represents a channel on Government Azure.

abstract boolean isPublicAzure()

Gets a value of whether this provider represents a channel on Public Azure.

Method Details

getChannelService

public abstract CompletableFuture getChannelService()

Gets the channel service property for this channel provider.

Returns:

The channel service property for the channel provider.

isGovernment

public abstract boolean isGovernment()

Gets a value of whether this provider represents a channel on Government Azure.

Returns:

True if this channel provider represents a channel on Government Azure.

isPublicAzure

public abstract boolean isPublicAzure()

Gets a value of whether this provider represents a channel on Public Azure.

Returns:

True if this channel provider represents a channel on Public Azure.

Applies to