Class NotifyEvent

java.lang.Object
com.sinch.sdk.domains.voice.models.webhooks.WebhooksEvent
com.sinch.sdk.domains.voice.models.webhooks.NotifyEvent

public class NotifyEvent extends WebhooksEvent
This is the general callback used to send notifications. It's a POST request to the specified calling callback URL.

If there is no response to the callback within the timeout period, the notification is discarded.

  • Method Details

    • getCustom

      public String getCustom()
      An optional parameter containing notification-specific information
      Returns:
      custom value
    • getType

      public String getType()
      The type of information communicated in the notification
      Returns:
      type value
    • toString

      public String toString()
      Overrides:
      toString in class WebhooksEvent
    • builder

      public static NotifyEvent.Builder<?> builder()