Class SignalRequest.Builder

java.lang.Object
com.vonage.client.video.SignalRequest.Builder
Enclosing class:
SignalRequest

public static class SignalRequest.Builder extends Object
  • 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

      public SignalRequest build()
      Builds the SignalRequest.
      Returns:
      An instance of SignalRequest, populated with all fields from this builder.