struct MultiPressOngoingEventIndicates how many times the momentary switch has been pressed in a multi-press sequence.
- 
                  
                  Payload for the MultiPressOngoingEvent.DeclarationSwift struct Payload
- 
                  
                  Identifier for this event. The Event ID is appended onto the Trait ID of the trait this event belongs to. DeclarationSwift static let identifier: ScopedEventID
- 
                  
                  Name of the given event type. DeclarationSwift static let name: StaticString
- 
                  
                  Timestamp of when the given event occurred on the sender. DeclarationSwift let timestamp: TimeInterval
- 
                  
                  Reported importance level of the given event. DeclarationSwift let importance: EventImportance
- 
                  
                  Optional number of the event in the sequence history of this field. DeclarationSwift let number: UInt
- 
                  
                  Initializer to decode the event. DeclarationSwift init(decoder: TraitDecoder, timestamp: TimeInterval, importance: EventImportance, number: UInt) throws
- 
                  
                  Encodes the given event. DeclarationSwift func encode(with encoder: TraitEncoder) throws
- 
                  
                  A textual representation of this instance, suitable for debugging. Calling this property directly is discouraged. Instead, convert an instance of any type to a string by using the String(reflecting:)initializer. This initializer works with any type, and uses the customdebugDescriptionproperty for types that conform toCustomDebugStringConvertible:struct Point: CustomDebugStringConvertible { let x: Int, y: Int var debugDescription: String { return "(\(x), \(y))" } } let p = Point(x: 21, y: 30) let s = String(reflecting: p) print(s) // Prints "(21, 30)"The conversion of pto a string in the assignment tosuses thePointtype’sdebugDescriptionproperty.DeclarationSwift var debugDescription: String { get }
- 
                  
                  Returns the field corresponding to the given field ID. DeclarationSwift static func eventField(id: UInt32) -> (any Field)?