CallEventData

public class CallEventData : CommunicationEventData

CallEventData provides the entire message payload data for a CallEvent.

Public attributes.

  • Parameter field that includes the array notation.

    Declaration

    Swift

    public var parameterArray: [AnyCodable]?
  • Parameter field that includes the object notation.

    Declaration

    Swift

    public var parameterDictionary: [String : AnyCodable]?
  • Defines conditions that must match a context object provided by the remote end in order to allow execution of the remote operation.

    Declaration

    Swift

    public var filter: ContextFilter?

Access methods.

  • Returns the value of the keyword parameter with the given name. Returns nil, if the given name is missing or if no keyword parameters have been specified.

    Declaration

    Swift

    public func getParameterByName(name: String) -> Any?
  • Returns the value of the positional parameter with the given index. Returns nil, if the given index is out of range or if no index parameters have been specified.

    Declaration

    Swift

    public func getParameterByIndex(index: Int) -> Any?

Codable methods.

  • Undocumented

    Declaration

    Swift

    override public func encode(to encoder: Encoder) throws