Static HMCharacteristicTypeContactState

Source
pub unsafe static HMCharacteristicTypeContactState: &'static NSString
Available on crate feature HMCharacteristicTypes only.
Expand description

Characteristic type for Contact sensor state. The value of the characteristic is a uint8 value. A value of 0 indicates that contact is detected; a value of 1 indicates no contact is detected.

See also Apple’s documentation