NavionicsMobileServices.h
1 //
2 // NavionicsMobileServices.h
3 // NavionicsMobileSDK
4 //
5 // Copyright © 2016 Navionics. All rights reserved.
6 //
7 
8 #import <Foundation/Foundation.h>
9 #import <CoreGraphics/CoreGraphics.h>
10 #import "NMSEnums.h"
11 #import "NMSGeoObjectResultsDelegate.h"
12 
13 @class NMSSettings;
14 
19 @interface NavionicsMobileServices : NSObject
20 
26 + (BOOL)initializeWithSettings:(NMSSettings*)settings error:(NSError**)error;
27 
32 + (void)shutDown;
33 
40 + (BOOL)geoObjectsAtPoint:(CGPoint)point;
41 
48 + (BOOL)searchGeoObjectsByName:(NSString*)name;
49 
56 + (BOOL)searchGeoObjectsByCategory:(NMSSearchCategory)category;
57 
64 + (BOOL)setGeoObjectsResultsDelegate:(id<NMSGeoObjectResultsDelegate>)delegate;
65 
70 + (void)navionicsUser;
71 
77 
84 
91 + (BOOL)disableDownloadAreaSelectorAndConfirm:(BOOL)confirmDownload;
92 
98 + (BOOL)enableGPSServices;
99 
105 + (BOOL)disableGPSServices;
106 
111 + (NSString*)version;
112 
113 @end
BOOL isNavionicsUserLoggedIn()
Check User login status.
BOOL enableDownloadAreaSelector()
Enable the manual download UI on the map. The download UI will appear only on the active map (if any...
BOOL enableGPSServices()
Enable the GPS Services. The framework needs location update as required background modes...
void shutDown()
Shutdown the SDK. Reset all the previous initialization settings. After the shutdown the SDK needs t...
BOOL disableGPSServices()
Disable the GPS Services. The framework needs location update as required background modes...
Navionics Mobile SDK settings.
Definition: NMSSettings.h:15
Main class of the Navionics Mobile Services and is the entry point for all the available services...
NSString * version()
Framework version.
void navionicsUser()
Enable the login UI. If the user is already logged shown the user details.