mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-25 07:17:58 +00:00
more web api
This commit is contained in:
1 parent
3d77365edc
commit
16218a731b
7 files changed
+34
-32
No files matched your search
@@ -10,6 +10,10 @@ class PlatformFFI {
|
||||
// return Uint8List.sublistView(ref.data.asTypedList(ref.len));
|
||||
}
|
||||
|
||||
static Future<String> getVersion() async {
|
||||
return '';
|
||||
}
|
||||
|
||||
static String getByName(String name, [String arg = '']) {
|
||||
return js.context.callMethod('getByName', [name, arg]);
|
||||
}
|
||||
@@ -20,6 +24,7 @@ class PlatformFFI {
|
||||
|
||||
static Future<Null> init() async {
|
||||
isWeb = true;
|
||||
js.context.callMethod('init');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user