Class CommunicationRelayClient


  • public final class CommunicationRelayClient
    extends Object
    Synchronous client interface for Communication Service Networktraversal operations
    • Method Detail

      • getRelayConfiguration

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

        public 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 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 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 com.azure.core.http.rest.Response<CommunicationRelayConfiguration> getRelayConfigurationWithResponse​(com.azure.communication.common.CommunicationUserIdentifier communicationUser,
                                                                                                                    RouteType routeType,
                                                                                                                    com.azure.core.util.Context context)
        Gets a Relay Configuration with response.
        Parameters:
        communicationUser - The CommunicationUserIdentifier for whom to issue a token
        routeType - The specified RouteType for the relay request
        context - A Context representing the request context.
        Returns:
        The obtained Communication Relay Configuration