TNEvent

@objcMembers
public class TNEvent : NSObject, Codable, LogInitiator

This is an base class, describes the general event sent via DataCollector.

  • Type of event

    Declaration

    Swift

    public var type: TNEventType { get }
  • Data of event

    Declaration

    Swift

    public var data: Data?
  • Format of event data

    Declaration

    Swift

    public var dataFormat: TNFormatType?

Internal interface

  • The name of event

    Declaration

    Swift

    public var eventName: String?
  • Identifies the schema that data adheres to

    Declaration

    Swift

    public var schemaDefinition: String?
  • Undocumented

    Declaration

    Swift

    public override init()
  • Undocumented

    Declaration

    Swift

    public override var description: String { get }

Implemenation of Codable protocol

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Declaration

    Swift

    required public init(from decoder: Decoder) throws