|
15 | 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { |
16 | 16 | # public *; |
17 | 17 | #} |
| 18 | + |
| 19 | +-keep,includedescriptorclasses,allowoptimization class org.libsdl.app.SDLActivity { |
| 20 | + void manualBackButton(); |
| 21 | + boolean setActivityTitle(java.lang.String); |
| 22 | + void setWindowStyle(boolean); |
| 23 | + void setOrientation(int, int, boolean, java.lang.String); |
| 24 | + void minimizeWindow(); |
| 25 | + boolean shouldMinimizeOnFocusLoss(); |
| 26 | + boolean isScreenKeyboardShown(); |
| 27 | + boolean supportsRelativeMouse(); |
| 28 | + boolean setRelativeMouseEnabled(boolean); |
| 29 | + boolean sendMessage(int, int); |
| 30 | + android.content.Context getContext(); |
| 31 | + boolean isAndroidTV(); |
| 32 | + boolean isTablet(); |
| 33 | + boolean isChromebook(); |
| 34 | + boolean isDeXMode(); |
| 35 | + boolean getManifestEnvironmentVariables(); |
| 36 | + boolean showTextInput(int, int, int, int); |
| 37 | + android.view.Surface getNativeSurface(); |
| 38 | + void initTouch(); |
| 39 | + int messageboxShowMessageBox(int, java.lang.String, java.lang.String, int[], int[], java.lang.String[], int[]); |
| 40 | + boolean clipboardHasText(); |
| 41 | + java.lang.String clipboardGetText(); |
| 42 | + void clipboardSetText(java.lang.String); |
| 43 | + int createCustomCursor(int[], int, int, int, int); |
| 44 | + void destroyCustomCursor(int); |
| 45 | + boolean setCustomCursor(int); |
| 46 | + boolean setSystemCursor(int); |
| 47 | + void requestPermission(java.lang.String, int); |
| 48 | + int openURL(java.lang.String); |
| 49 | + int showToast(java.lang.String, int, int, int, int); |
| 50 | + native java.lang.String nativeGetHint(java.lang.String); |
| 51 | + int openFileDescriptor(java.lang.String, java.lang.String); |
| 52 | + boolean showFileDialog(java.lang.String[], boolean, boolean, int); |
| 53 | + native void onNativeFileDialog(int, java.lang.String[], int); |
| 54 | +} |
| 55 | + |
| 56 | +-keep,includedescriptorclasses,allowoptimization class org.libsdl.app.HIDDeviceManager { |
| 57 | + boolean initialize(boolean, boolean); |
| 58 | + boolean openDevice(int); |
| 59 | + int writeReport(int, byte[], boolean); |
| 60 | + boolean readReport(int, byte[], boolean); |
| 61 | + void closeDevice(int); |
| 62 | +} |
| 63 | + |
| 64 | +-keep,includedescriptorclasses,allowoptimization class org.libsdl.app.SDLAudioManager { |
| 65 | + void registerAudioDeviceCallback(); |
| 66 | + void unregisterAudioDeviceCallback(); |
| 67 | + int[] audioOpen(int, int, int, int, int); |
| 68 | + void audioWriteFloatBuffer(float[]); |
| 69 | + void audioWriteShortBuffer(short[]); |
| 70 | + void audioWriteByteBuffer(byte[]); |
| 71 | + int[] captureOpen(int, int, int, int, int); |
| 72 | + int captureReadFloatBuffer(float[], boolean); |
| 73 | + int captureReadShortBuffer(short[], boolean); |
| 74 | + int captureReadByteBuffer(byte[], boolean); |
| 75 | + void audioClose(); |
| 76 | + void captureClose(); |
| 77 | + void audioSetThreadPriority(boolean, int); |
| 78 | + int nativeSetupJNI(); |
| 79 | + void removeAudioDevice(boolean, int); |
| 80 | + void addAudioDevice(boolean, java.lang.String, int); |
| 81 | +} |
| 82 | + |
| 83 | +-keep,includedescriptorclasses,allowoptimization class org.libsdl.app.SDLControllerManager { |
| 84 | + void pollInputDevices(); |
| 85 | + void pollHapticDevices(); |
| 86 | + void hapticRun(int, float, int); |
| 87 | + void hapticStop(int); |
| 88 | +} |
0 commit comments