Class CommunicationRelayAsyncClient


  • public final class CommunicationRelayAsyncClient
    extends Object
    Asynchronous client interface for Azure Communication Network Traversal operations
    • Method Detail

      • getRelayConfiguration

        public Mono<CommunicationRelayConfiguration> getRelayConfiguration()
        Gets a Relay Configuration.
        Returns:
        The obtained Communication Relay Configuration.
      • getRelayConfiguration

        public Mono<CommunicationRelayConfiguration> getRelayConfiguration​(com.azure.communication.common.CommunicationUserIdentifier communicationUser)
        Gets a Relay Configuration for a CommunicationUserIdentifier.
        Parameters:
        communicationUser - The CommunicationUserIdentifier for whom to issue a token
        Returns:
        The obtained Communication Relay Configuration.
      • getRelayConfiguration

        public Mono<CommunicationRelayConfiguration> getRelayConfiguration​(RouteType routeType)
        Gets a Relay Configuration given a RouteType.
        Parameters:
        routeType - The specified RouteType for the relay request
        Returns:
        The obtained Communication Relay Configuration.
      • getRelayConfiguration

        public Mono<CommunicationRelayConfiguration> getRelayConfiguration​(com.azure.communication.common.CommunicationUserIdentifier communicationUser,
                                                                           RouteType routeType)
        Gets a Relay Configuration for a CommunicationUserIdentifier given a RouteType.
        Parameters:
        communicationUser - The CommunicationUserIdentifier for whom to issue a token
        routeType - The specified RouteType for the relay request
        Returns:
        The obtained Communication Relay Configuration.
      • getRelayConfigurationWithResponse

        public Mono<com.azure.core.http.rest.Response<CommunicationRelayConfiguration>> getRelayConfigurationWithResponse()
        Gets a Relay Configuration with response.
        Returns:
        The obtained Communication Relay Configuration.