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

Method request_mtu

src/droidplug/jni/objects.rs:312–321  ·  view source on GitHub ↗
(&self, mtu: jint)

Source from the content-addressed store, hash-verified

310 }
311
312 pub fn request_mtu(&self, mtu: jint) -> Result<JObject<'a>> {
313 self.env
314 .call_method_unchecked(
315 self.internal,
316 self.request_mtu,
317 JavaType::Object("Lio/github/gedgygedgy/rust/future/Future;".to_string()),
318 &[mtu.into()],
319 )?
320 .l()
321 }
322
323 pub fn get_connection_parameters(&self) -> Result<Option<crate::api::ConnectionParameters>> {
324 let obj = self

Callers 1

connectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected