Class Rtc.Builder
java.lang.Object
com.vonage.client.application.capabilities.Capability.Builder<Rtc,Rtc.Builder>
com.vonage.client.application.capabilities.Rtc.Builder
- Enclosing class:
Rtc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddWebhook(Webhook.Type type, Webhook webhook) build()Builds the Rtc object.removeWebhook(Webhook.Type type) signedCallbacks(boolean signedCallbacks) Set whether to use signed webhooks.
-
Constructor Details
-
Builder
Deprecated.UseRtc.builder()instead. This constructor will be made private in a future release.Constructs a new Builder.
-
-
Method Details
-
signedCallbacks
Set whether to use signed webhooks. This is a way of verifying that the request is coming from Vonage.- Parameters:
signedCallbacks-trueif signed webhooks should be used.- Returns:
- This builder.
- Since:
- 8.12.0
-
addWebhook
-
removeWebhook
-
build
Builds the Rtc object.- Specified by:
buildin classCapability.Builder<Rtc,Rtc.Builder> - Returns:
- A new RTC capability containing the configured properties.
-
Rtc.builder()instead.