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

Method is_primary

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

Source from the content-addressed store, hash-verified

416 }
417
418 pub fn is_primary(&self) -> Result<bool> {
419 /*
420 self.env
421 .call_method_unchecked(
422 self.internal,
423 self.is_primary,
424 JavaType::Primitive(Primitive::Boolean),
425 &[],
426 )?
427 .z()
428 */
429 Ok(true)
430 }
431
432 pub fn get_uuid(&self) -> Result<Uuid> {
433 let obj = self

Callers 1

discover_servicesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected