SLProject  4.3.020
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
SENSAndroidPermissions.h
Go to the documentation of this file.
1 #ifndef SENS_ANDROID_PERMISSIONS
2 #define SENS_ANDROID_PERMISSIONS
3 #include <SENSPermissions.h>
4 #include <jni.h>
5 
7 {
8 public:
9  SENSAndroidPermissions(JavaVM* jvm);
10  void askPermissions();
11 
12  bool hasCameraPermission();
13  bool hasGPSPermission();
14  bool hasInternetPermission();
15  bool hasStoragePermission();
16 
21 
22  bool isLocationEnabled();
23  void askEnabledLocation();
24 
25 private:
26  JavaVM* _jvm;
27 };
28 
29 #endif