mirror of
https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background
synced 2024-11-15 12:04:53 +00:00
25 lines
624 B
Objective-C
25 lines
624 B
Objective-C
/**
|
|
* APPBackgroundMode.h
|
|
* Cordova BackgroundMode Plugin
|
|
*
|
|
* Created by Sebastian Katzer (github.com/katzer) on 08/10/2013.
|
|
* Copyright 2013 Sebastian Katzer. All rights reserved.
|
|
* GPL v2 licensed
|
|
*/
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <Cordova/CDVPlugin.h>
|
|
#import <CoreLocation/CoreLocation.h>
|
|
|
|
@interface APPBackgroundMode : CDVPlugin {
|
|
BOOL _enabled;
|
|
}
|
|
|
|
// Aktiviert den Hintergrundmodus
|
|
- (void) enable:(CDVInvokedUrlCommand *)command;
|
|
// Deaktiviert den Hintergrundmodus
|
|
- (void) disable:(CDVInvokedUrlCommand *)command;
|
|
|
|
@property (nonatomic, strong) CLLocationManager* locationManager;
|
|
|
|
@end |