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

Method is_connected

src/droidplug/jni/objects.rs:192–201  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

190 }
191
192 pub fn is_connected(&self) -> Result<bool> {
193 self.env
194 .call_method_unchecked(
195 self.internal,
196 self.is_connected,
197 JavaType::Primitive(Primitive::Boolean),
198 &[],
199 )?
200 .z()
201 }
202
203 pub fn discover_services(&self) -> Result<JFuture<'a, 'b>> {
204 let future_obj = self

Callers 3

ensure_clean_stateFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected