Package com.sinch.sdk.models
Class Configuration
java.lang.Object
com.sinch.sdk.models.Configuration
Configuration used by Sinch Client
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Configuration.Builder
builder()
Getting Builderstatic Configuration.Builder
builder
(Configuration configuration) Getting BuilderCredentials to be used for Verification and Voice servicesGet Voice domain related execution contextGet Numbers domain related execution contextOAuth serverOAuth URLGet SMS domain related execution contextGet SMS service plan ID credentialsGet Sinch unified credentialsGet Verification domain related execution contextGet Voice domain related execution contexttoString()
-
Method Details
-
toString
-
getUnifiedCredentials
Get Sinch unified credentials- Returns:
- Credentials
- Since:
- 1.0
- See Also:
-
getSmsServicePlanCredentials
Get SMS service plan ID credentials- Returns:
- Credentials
- Since:
- 1.0
-
getOAuthServer
OAuth server- Returns:
- OAuth Server configuration to be used
- Since:
- 1.0
-
getOAuthUrl
OAuth URL- Returns:
- OAuth Server URL
- Since:
- 1.0
-
getNumbersContext
Get Numbers domain related execution context- Returns:
- Current Numbers context
- Since:
- 1.0
-
getSmsContext
Get SMS domain related execution context- Returns:
- Current SMS context
- Since:
- 1.0
-
getVerificationContext
Get Verification domain related execution context- Returns:
- Current Verification context
- Since:
- 1.0
-
getVoiceContext
Get Voice domain related execution context- Returns:
- Current Voice context
- Since:
- 1.0
-
getApplicationCredentials
Credentials to be used for Verification and Voice services- Returns:
- Application credentials
- Since:
- 1.0
- See Also:
-
getConversationContext
Get Voice domain related execution context- Returns:
- Current Voice context
- Since:
- 1.0
-
builder
Getting Builder- Returns:
- New Builder instance
- Since:
- 1.0
-
builder
Getting Builder- Parameters:
configuration
- Source configuration to fill initial builder state- Returns:
- New Builder instance
- Since:
- 1.0
-