ScummVM API documentation
JNI Class Reference

Public Types

typedef float DPIValues[3]
 

Static Public Member Functions

static jint onLoad (JavaVM *vm)
 
static JNIEnv * getEnv ()
 
static void attachThread ()
 
static void detachThread ()
 
static void setReadyForEvents (bool ready)
 
static void wakeupForQuit ()
 
static void setWindowCaption (const Common::U32String &caption)
 
static void getDPI (DPIValues &values)
 
static void displayMessageOnOSD (const Common::U32String &msg)
 
static bool openUrl (const Common::String &url)
 
static bool hasTextInClipboard ()
 
static Common::U32String getTextFromClipboard ()
 
static bool setTextInClipboard (const Common::U32String &text)
 
static bool isConnectionLimited ()
 
static void showVirtualKeyboard (bool enable)
 
static void showOnScreenControls (int enableMask)
 
static void setTouchMode (int touchMode)
 
static int getTouchMode ()
 
static void setOrientation (int touchMode)
 
static void addSysArchivesToSearchSet (Common::SearchSet &s, int priority)
 
static Common::String getScummVMBasePath ()
 
static Common::String getScummVMAssetsPath ()
 
static Common::String getScummVMConfigPath ()
 
static Common::String getScummVMLogPath ()
 
static jint getAndroidSDKVersionId ()
 
static void setCurrentGame (const Common::String &target)
 
static bool haveSurface ()
 
static bool swapBuffers ()
 
static bool initSurface ()
 
static void deinitSurface ()
 
static int eglVersion ()
 
static void setAudioPause ()
 
static void setAudioPlay ()
 
static void setAudioStop ()
 
static int writeAudio (JNIEnv *env, jbyteArray &data, int offset, int size)
 
static Common::Array< Common::StringgetAllStorageLocations ()
 
static jobject getNewSAFTree (bool folder, bool writable, const Common::String &initURI, const Common::String &prompt)
 
static Common::Array< jobject > getSAFTrees ()
 
static jobject findSAFTree (const Common::String &name)
 

Static Public Attributes

static bool assets_updated
 
static bool pause
 
static sem_t pause_sem
 
static int surface_changeid
 
static int egl_surface_width
 
static int egl_surface_height
 
static int egl_bits_per_pixel
 
static bool virt_keyboard_state
 
static int32 gestures_insets [4]
 

Member Typedef Documentation

◆ DPIValues

typedef float JNI::DPIValues[3]

Array members of DPIValues are xdpi, ydpi, density


The documentation for this class was generated from the following file: