static bool CharacteristicFormatEqualsTo(HMCharacteristic characteristic, HMCharacteristicMetadataFormat format) { var metadata = characteristic.Metadata; return metadata != null && metadata.Format == format; }
static bool CharacteristicFormatEqualsTo(HMCharacteristic characteristic, HMCharacteristicMetadataFormat format) { var metadata = characteristic.Metadata; return(metadata != null && metadata.Format == format); }