SLProject  4.3.020
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
SENSiOSGpsDelegate.h
Go to the documentation of this file.
1 #ifndef SENS_IOSGPS_DELEGATE_H
2 #define SENS_IOSGPS_DELEGATE_H
3 
4 #import <CoreLocation/CoreLocation.h>
5 
6 @interface SENSiOSGpsDelegate : NSObject<CLLocationManagerDelegate>
7 
8 - (BOOL)start;
9 - (void)stop;
11 
12 @property (nonatomic, assign) std::function<void(double, double, double, double)> updateCB;
13 @property (nonatomic, assign) std::function<void(bool)> permissionCB;
14 @end
15 
16 #endif
typedef void(SL_STDCALL *cbOnImGuiBuild)(SLScene *s
Callback function typedef for ImGui build function.
void stop()
Stops the location data update.
std::function< void(bool)> permissionCB
BOOL start()
Starts the location data update.
std::function< void(double, double, double, double)> updateCB