Package com.vonage.client.video
Class SignalRequest.Builder
java.lang.Object
com.vonage.client.video.SignalRequest.Builder
- Enclosing class:
SignalRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the SignalRequest.(REQUIRED) Payload that is being sent to the client.(REQUIRED) Type of data that is being sent to the client.
-
Method Details
-
type
(REQUIRED) Type of data that is being sent to the client. This cannot exceed 128 bytes.- Parameters:
type- The type as a string.- Returns:
- This builder.
-
data
(REQUIRED) Payload that is being sent to the client. This cannot exceed 8 kilobytes.- Parameters:
data- The data as a string.- Returns:
- This builder.
-
build
Builds the SignalRequest.- Returns:
- An instance of SignalRequest, populated with all fields from this builder.
-