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

Method get_properties

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

Source from the content-addressed store, hash-verified

505 }
506
507 pub fn get_properties(&self) -> Result<CharPropFlags> {
508 let flags = self
509 .env
510 .call_method_unchecked(
511 self.internal,
512 self.get_properties,
513 JavaType::Primitive(Primitive::Int),
514 &[],
515 )?
516 .i()?;
517 Ok(CharPropFlags::from_bits_truncate(flags as u8))
518 }
519
520 pub fn get_value(&self) -> Result<Vec<u8>> {
521 let value = self

Callers 1

discover_servicesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected