TNEntityActionEvent

@objcMembers
public class TNEntityActionEvent : TNApplicationEvent

Entity Action Event Schema model. Use TNEntityActionEventBuilder to create an event

  • Declaration

    Swift

    override public private(set) var type: TNEventType { get set }
  • Declaration

    Swift

    override public var eventName: String? { get set }
  • Declaration

    Swift

    override public var schemaDefinition: String? { get set }
  • Entity ID of the result that was taken action

    Declaration

    Swift

    public private(set) var entityId: String { get }
  • The reference id of search from which this entity was generated

    Declaration

    Swift

    public private(set) var referenceId: String { get }
  • Entity Action Type: Click, Call, Direction

    Declaration

    Swift

    public private(set) var action: TNEntityActionType { get }
  • Where entity was displayed when entity was taken action: MapView, ListView

    Declaration

    Swift

    public private(set) var display: TNEntityDisplayType { get }
  • Builder in order to create a valid event

    Declaration

    Swift

    public static func builder() -> TNEntityActionEventBuilder

Implemenation of Codable protocol

  • Undocumented

    Declaration

    Swift

    public override func encode(to encoder: Encoder) throws
  • Undocumented

    Declaration

    Swift

    public required init(from decoder: Decoder) throws