IoStateEventData

public class IoStateEventData : CommunicationEventData

Defines event data format for association/disassociation related to a specific IO source/actor.

This data is emitted by the observable returned by CommunicationManager.observeIoState.

Getters.

  • Determines whether the related IO source/actor has associations.

    Declaration

    Swift

    public func hasAssociations() -> Bool
  • The recommended update rate (in millis) for publishing IO source values (optional).

    The value is only specified for association events that are observed by an IO source; otherwise undefined.

    Declaration

    Swift

    public func updateRate() -> Int?

Codable methods.

  • Undocumented

    Declaration

    Swift

    override public func encode(to encoder: Encoder) throws