MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / open

Method open

packages/server/src/android.rs:1057–1066  ·  view source on GitHub ↗
(handle: String)

Source from the content-addressed store, hash-verified

1055
1056impl AndroidSharedVideoFrameStream {
1057 fn open(handle: String) -> Result<Self, AppError> {
1058 let (fd, ptr, length) = open_android_shared_video_memory(&handle)?;
1059 Ok(Self {
1060 handle,
1061 fd,
1062 ptr,
1063 length,
1064 last_sequence: None,
1065 })
1066 }
1067
1068 pub fn next_frame(
1069 &mut self,

Callers 2

start_project_serviceFunction · 0.80
acquireMethod · 0.80

Calls 1

Tested by 1

acquireMethod · 0.64