Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package xx.xxx.XXX.ndkcode;
- public class XXXProtocol {
- static
- {
- System.loadLibrary("xxxx_jni");
- }
- /**
- * Native C++ method to start XXX Protocol
- *
- * @param ip ip address of XXX table
- * @param port listening port of XXX table
- * @param assets path to scenario assets
- */
- public static native void startXXXX(String ip, int port, String assets);
- /**
- * Native C++ method to stop XXX Protocol
- */
- public static native void stopXXXX();
- /**
- * Native C++ method to stop XXX Protocol
- * @param jsonString JSON represented as a String
- */
- public static native void sendJsonViaXxxx(String jsonString);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement