Package com.sinch.sdk.models
Class VoiceRegion
The Calling API uses a variety of endpoints depending on where in the world you are located.
When using methods concerning individual calls, you can define what regional endpoint you want to use for the call. The following regional endpoints are available:
For cases where the call is the result of an incoming PSTN, SIP or data call, the endpoint to use for managing that call is supplied in the ICE event. ICE callbacks will also provide region-specific URLs in the callResourceUrl property.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final VoiceRegion
Europestatic final VoiceRegion
Global - redirected by Sinch to the closest regionstatic final VoiceRegion
North Americastatic final VoiceRegion
South Americastatic final VoiceRegion
South East Asia 1static final VoiceRegion
South East Asia 2 -
Method Summary
Modifier and TypeMethodDescriptionstatic VoiceRegion
Get value from a stringstatic String
valueOf
(VoiceRegion value) Value of the enum as Stringstatic Stream
<VoiceRegion> values()
Get declared valuesMethods inherited from class com.sinch.sdk.core.utils.EnumDynamic
equals, hashCode, toString, value
-
Field Details
-
GLOBAL
Global - redirected by Sinch to the closest region -
EUROPE
Europe -
NORTH_AMERICA
North America -
SOUTH_AMERICA
South America -
SOUTH_EAST_ASIA1
South East Asia 1 -
SOUTH_EAST_ASIA2
South East Asia 2
-
-
Method Details
-
values
Get declared values- Returns:
- Stream of values
-
from
Get value from a string- Parameters:
value
- String identifier- Returns:
- Dynamic enum from value. A new enum is created if value is not yet registered
-
valueOf
Value of the enum as String- Parameters:
value
- The enum identifier- Returns:
- String identifier of the enum value
-