cordova-plugin-run-in-backg.../src/ios/APPBackgroundMode.h
2013-10-09 14:54:23 +02:00

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