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

Method get_notifications

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

Source from the content-addressed store, hash-verified

262 }
263
264 pub fn get_notifications(&self) -> Result<JStream<'a, 'b>> {
265 let stream_obj = self
266 .env
267 .call_method_unchecked(
268 self.internal,
269 self.get_notifications,
270 JavaType::Object("Lio/github/gedgygedgy/rust/stream/Stream;".to_string()),
271 &[],
272 )?
273 .l()?;
274 JStream::from_env(self.env, stream_obj)
275 }
276
277 pub fn read_descriptor(
278 &self,

Callers 1

notificationsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected