MCPcopy Create free account
hub / github.com/deviceplug/btleplug / value

Method value

src/droidplug/jni_utils/mod.rs:62–64  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

60 }
61
62 pub fn value(&self) -> bool {
63 *self.0.lock().unwrap()
64 }
65
66 pub fn set_value(&self, value: bool) {
67 let mut guard = self.0.lock().unwrap();

Callers 7

servicesMethod · 0.80
newMethod · 0.80
get_characteristic_valueFunction · 0.80
get_descriptor_valueFunction · 0.80
peripheralsMethod · 0.80
peripheralMethod · 0.80
get_classFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected