GatewayPushEvent

public enum GatewayPushEvent

Type of push notification (SSE) to the gateway

  • Dial the provided phone number

    Declaration

    Swift

    case dial(number: String)
    Parameters
    number

    String of the number to be called

  • Hang up the currently connected call

    Declaration

    Swift

    case hangUp
  • Inform the gateway about the answer action

    Declaration

    Swift

    case deviceDidAnswerCall(client: SPDevice)
    Parameters
    client

    SPDevice object of the local device

  • Inform the gateway about the decline action

    Declaration

    Swift

    case deviceDidDeclineCall(client: SPDevice)
    Parameters
    client

    SPDevice object of the local device

  • Hold the currently connected call

    Declaration

    Swift

    case holdCall
  • Resume the currently connected call

    Declaration

    Swift

    case resumeCall
  • Send a certain DTMF number

    Declaration

    Swift

    case playDTMF(digits: String)
    Parameters
    digits

    The respective DTMF keys to transmit

  • Send out a SMS Message

    Declaration

    Swift

    case sendSMS(to: String, message: String)
    Parameters
    to

    Number of the recipient

    message

    Message to send

  • Request an update of the gateways signal strength

    Declaration

    Swift

    case updateSignalStrength