CommunicationEvent
public class CommunicationEvent<T> : Codable where T : CommunicationEventData
CommunicationEvent is a generic supertype for all defined Coaty event types.
-
Event data of this event.
Declaration
Swift
private(set) public var data: T { get }
-
Object ID of the event source.
Declaration
Swift
internal(set) public var sourceId: CoatyUUID? { get }
-
Declaration
Swift
public required init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Undocumented
Declaration
Swift
public var json: String { get }