forked from Blendman974/faceclaw
Port navigate and weather
This commit is contained in:
1 parent
2b3e068a23
commit
9e18745e53
33 files changed
+630
-60
No files matched your search
@@ -5,5 +5,14 @@
|
||||
+ (instancetype)shared;
|
||||
- (BOOL)hasPermission;
|
||||
- (void)requestPermission:(void (^)(BOOL granted))completion;
|
||||
- (void)requestPrecisePermission:(void (^)(BOOL granted))completion;
|
||||
- (void)requestDeclination:(void (^)(double degrees, double latitude, double longitude, NSString *error))completion;
|
||||
@end
|
||||
|
||||
/** Each lookup/stream owns a separate manager, so stopping one never stops another. Main thread only. */
|
||||
@interface FaceclawLocationUpdates : NSObject
|
||||
@property(nonatomic, copy) void (^eventHandler)(NSString *json);
|
||||
- (void)startOnce;
|
||||
- (void)startTracking:(NSInteger)intervalMs;
|
||||
- (void)stop;
|
||||
@end
|
||||
Reference in new issue
Block a user