Plumb UTF-8 text support through to NvConnection

This commit is contained in:
Cameron Gutman
2021-08-10 00:14:13 -05:00
parent 310ba646fc
commit ae9282b0af
4 changed files with 17 additions and 1 deletions

View File

@@ -367,6 +367,12 @@ public class NvConnection {
}
}
public void sendUtf8Text(final String text) {
if (!isMonkey) {
MoonBridge.sendUtf8Text(text);
}
}
public static String findExternalAddressForMdns(String stunHostname, int stunPort) {
return MoonBridge.findExternalAddressIP4(stunHostname, stunPort);
}

View File

@@ -291,6 +291,8 @@ public class MoonBridge {
public static native void sendMouseHighResScroll(short scrollAmount);
public static native void sendUtf8Text(String text);
public static native String getStageName(int stage);
public static native String findExternalAddressIP4(String stunHostName, int stunPort);