Enumeration
ObjectPresentEvent.State
public enum State: Codable, Equatable
The proximity state of a sensor.
Relationships
Member Of
ObjectPresentEvent
An event that is sent whenever an object is close to a proximity sensor or not.
Conforms To
Codable
Equatable
Initializers
init(from:)
public init(from decoder: Decoder) throws
Enumeration Cases
unknown
case unknown(value: String)
Used for backward compatibility in case a new state is added on the backend before being added to this client library.
Methods
encode(to:)
public func encode(to encoder: Encoder) throws