Oxygine  1
2g game engine
jniUtils.h
1 #pragma once
2 #include "oxygine_include.h"
3 #include "jniHelper.h"
4 #include "core/oxygine.h"
5 #include <string>
6 
7 namespace oxygine
8 {
9  jobject jniGetMainActivity();
10  jclass jniGetMainActivityClass();
11  void jniSetMainActivityClass(jclass);
12 
14  int64 jniGetTimeUTCMS();
15 
17  std::string jniGetLanguage();
18  std::string jniGetPackage();
19  bool jniIsNetworkAvailable();
20 
21  int64 jniGetFreeSpace(const char*);
22 
23  bool jniExit();
24  void jniRestartApp();
25  void jniMoveTaskToBack();
26  void jniBrowse(const char* url);
27 
28  void jniWriteBuffer2InternalStorageFile(const char* path, const char* data, size_t size);
29 
30  jobject jniFindExtension(JNIEnv* env, jclass cl);
31 
32 
33  std::string jniGetProperty(const std::string& id);
34 }
int64 jniGetTimeUTCMS()
–oxgl-end–!
Definition: Actor.h:14
std::string jniGetLanguage()