cocos2d-x
3.3
|
#include <string>
Typedefs | |
typedef void(* | EditTextCallback )(const char *text, void *ctx) |
Functions | |
const char * | getApkPath () |
void | showDialogJNI (const char *message, const char *title) |
void | showEditTextDialogJNI (const char *title, const char *content, int inputMode, int inputFlag, int returnType, int maxLength, EditTextCallback callback, void *ctx) |
void | terminateProcessJNI () |
std::string | getCurrentLanguageJNI () |
std::string | getPackageNameJNI () |
std::string | getFileDirectoryJNI () |
void | enableAccelerometerJni () |
void | disableAccelerometerJni () |
void | setAccelerometerIntervalJni (float interval) |
void | setKeepScreenOnJni (bool value) |
bool | openURLJNI (const char *url) |
bool | getBoolForKeyJNI (const char *key, bool defaultValue) |
int | getIntegerForKeyJNI (const char *key, int defaultValue) |
float | getFloatForKeyJNI (const char *key, float defaultValue) |
double | getDoubleForKeyJNI (const char *key, double defaultValue) |
std::string | getStringForKeyJNI (const char *key, const char *defaultValue) |
void | setBoolForKeyJNI (const char *key, bool value) |
void | setIntegerForKeyJNI (const char *key, int value) |
void | setFloatForKeyJNI (const char *key, float value) |
void | setDoubleForKeyJNI (const char *key, double value) |
void | setStringForKeyJNI (const char *key, const char *value) |
typedef void(* EditTextCallback)(const char *text, void *ctx) |
void disableAccelerometerJni | ( | ) |
void enableAccelerometerJni | ( | ) |
const char* getApkPath | ( | ) |
bool getBoolForKeyJNI | ( | const char * | key, |
bool | defaultValue | ||
) |
std::string getCurrentLanguageJNI | ( | ) |
double getDoubleForKeyJNI | ( | const char * | key, |
double | defaultValue | ||
) |
std::string getFileDirectoryJNI | ( | ) |
float getFloatForKeyJNI | ( | const char * | key, |
float | defaultValue | ||
) |
int getIntegerForKeyJNI | ( | const char * | key, |
int | defaultValue | ||
) |
std::string getPackageNameJNI | ( | ) |
std::string getStringForKeyJNI | ( | const char * | key, |
const char * | defaultValue | ||
) |
bool openURLJNI | ( | const char * | url | ) |
void setAccelerometerIntervalJni | ( | float | interval | ) |
void setBoolForKeyJNI | ( | const char * | key, |
bool | value | ||
) |
void setDoubleForKeyJNI | ( | const char * | key, |
double | value | ||
) |
void setFloatForKeyJNI | ( | const char * | key, |
float | value | ||
) |
void setIntegerForKeyJNI | ( | const char * | key, |
int | value | ||
) |
void setKeepScreenOnJni | ( | bool | value | ) |
void setStringForKeyJNI | ( | const char * | key, |
const char * | value | ||
) |
void showDialogJNI | ( | const char * | message, |
const char * | title | ||
) |
void showEditTextDialogJNI | ( | const char * | title, |
const char * | content, | ||
int | inputMode, | ||
int | inputFlag, | ||
int | returnType, | ||
int | maxLength, | ||
EditTextCallback | callback, | ||
void * | ctx | ||
) |
void terminateProcessJNI | ( | ) |