TNEntityCacheActionEvent

@objcMembers
public class TNEntityCacheActionEvent : TNApplicationEvent

Entity Cache Action Event Schema model. Use TNEntityCacheActionEventBuilder 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 }
  • Entity Action Type: Click, Call, Direction

    Declaration

    Swift

    public private(set) var action: TNEntityActionType { get }
  • Where is the entity cache: RECENT, FAVORITE, HOME, WORK

    Declaration

    Swift

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

    Declaration

    Swift

    public static func builder() -> TNEntityCacheActionEventBuilder

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