Class VoiceContext

java.lang.Object
com.sinch.sdk.models.VoiceContext

public class VoiceContext extends Object
Execution context related to Voice domains
  • Constructor Details

    • VoiceContext

      public VoiceContext(VoiceRegion voiceRegion, String voiceUrl, String voiceApplicationManagementUrl)
  • Method Details

    • getVoiceRegion

      public VoiceRegion getVoiceRegion()
      Voice region
      Returns:
      Selected Voice Region
      Since:
      1.0
    • getVoiceUrl

      public String getVoiceUrl()
      Voice URL
      Returns:
      Voice Server URL
      Since:
      1.0
    • getVoiceServer

      public ServerConfiguration getVoiceServer()
      Voice Server Configuration
      Returns:
      Voice Server configuration to be used
      Since:
      1.0
    • getVoiceApplicationManagementUrl

      public String getVoiceApplicationManagementUrl()
      Voice Application Management URL
      Returns:
      Voice Application Management URL
      Since:
      1.0
    • getVoiceApplicationManagementServer

      public ServerConfiguration getVoiceApplicationManagementServer()
      Voice Application Management Configuration
      Returns:
      Voice Application Management to be used
      Since:
      1.0
    • builder

      public static VoiceContext.Builder builder()
      Getting Builder
      Returns:
      New Builder instance
      Since:
      1.0
    • builder

      public static VoiceContext.Builder builder(VoiceContext configuration)
      Getting Builder
      Parameters:
      configuration - Source configuration to fill initial builder state
      Returns:
      New Builder instance
      Since:
      1.0