feat: rust connection implementation

This commit is contained in:
Kingtous committed 2023-02-07 16:20:37 +08:00
1 parent a04980fa13
commit b412a7122b
8 files changed
+220 -81

No files matched your search

+4
View File
@@ -705,6 +705,10 @@ pub trait InvokeUiSession: Send + Sync + Clone + 'static + Sized + Default {
fn clipboard(&self, content: String);
fn cancel_msgbox(&self, tag: &str);
fn switch_back(&self, id: &str);
fn on_voice_call_start(&self);
fn on_voice_call_stop(&self, reason: &str);
fn on_voice_call_waiting(&self);
fn on_voice_call_incoming(&self);
}
impl<T: InvokeUiSession> Deref for Session<T> {