Class Voice
java.lang.Object
com.vonage.client.JsonableBaseObject
com.vonage.client.application.capabilities.Capability
com.vonage.client.application.capabilities.Voice
- All Implemented Interfaces:
Jsonable
Voice capability configuration settings.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.vonage.client.application.capabilities.Capability
Capability.Type -
Field Summary
Fields inherited from class com.vonage.client.application.capabilities.Capability
webhooks -
Method Summary
Modifier and TypeMethodDescriptionstatic Voice.Builderbuilder()Entry point for constructing an instance of this class.The length of time the named conversation will remain active for after creation, in hours. 0 means infinite.Persistence duration for conversation legs, in days.The region which all inbound, programmable SIP and SIP connect calls will be sent to unless the call is sent to a regional endpoint, if the call is using a regional endpoint this will override the application setting.Whether to use signed webhooks for this capability.getType()The capability's type.Methods inherited from class com.vonage.client.application.capabilities.Capability
getWebhooksMethods inherited from class com.vonage.client.JsonableBaseObject
createJsonObjectMapper, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.vonage.client.Jsonable
toJson, updateFromJson
-
Method Details
-
getRegion
The region which all inbound, programmable SIP and SIP connect calls will be sent to unless the call is sent to a regional endpoint, if the call is using a regional endpoint this will override the application setting.- Returns:
- The region to process calls through as an enum, or
nullif not specified (the default). - Since:
- 7.7.0
-
getSignedCallbacks
Whether to use signed webhooks for this capability. See the documentation on webhooks for details.- Returns:
trueif webhooks are signed, ornullif unknown (the default).- Since:
- 7.7.0
-
getConversationsTtl
The length of time the named conversation will remain active for after creation, in hours. 0 means infinite.- Returns:
- The time-to-live of the named conversation, or
nullif unknown / not applicable (the default). - Since:
- 7.7.0
-
getLegPersistenceTime
Persistence duration for conversation legs, in days. Maximum value is 31, default is 7.- Returns:
- The leg persistence time in dats as an integer, or
nullif unknown. - Since:
- 8.12.0
-
getType
Description copied from class:CapabilityThe capability's type.- Specified by:
getTypein classCapability- Returns:
- This capability's type as an enum.
-
builder
Entry point for constructing an instance of this class.- Returns:
- A new Builder.
-