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

Method get_scan_record

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

Source from the content-addressed store, hash-verified

697 }
698
699 pub fn get_scan_record(&self) -> Result<JScanRecord<'a, 'b>> {
700 let obj = self
701 .env
702 .call_method_unchecked(
703 self.internal,
704 self.get_scan_record,
705 JavaType::Object("Landroid/bluetooth/le/ScanRecord;".to_string()),
706 &[],
707 )?
708 .l()?;
709 JScanRecord::from_env(self.env, obj)
710 }
711
712 pub fn get_tx_power(&self) -> Result<jint> {
713 self.env

Callers 1

try_fromMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected