File tree 4 files changed +22
-2
lines changed
Framework/IngeoSDK.framework
4 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 85
85
*/
86
86
+ (void )setCustomHTTPHeaders : (NSDictionary *)headers ;
87
87
88
+ // /---------------------------------------------------------------------------------------
89
+ // / @name Location Monitoring Authorization
90
+ // /---------------------------------------------------------------------------------------
91
+
92
+ /* *
93
+ Asks the user for the specified type of location authorization and alert if denied or location
94
+ services are off.
95
+ Calling this method is only optional.
96
+ */
97
+ + (void )promptAuthorization : (CLAuthorizationStatus)type ;
98
+
88
99
89
100
// /---------------------------------------------------------------------------------------
90
101
// / @name Location Monitoring Activation and Deactivation
134
145
// / @name Retrieve Location Data
135
146
// /---------------------------------------------------------------------------------------
136
147
148
+ typedef void (^IGQueryCompletionHandler)(IGLocation *igLocation, NSError *error);
149
+
150
+ /* *
151
+ Calls the completion handler once a valid location is determined.
152
+ This method will invoke When-In-Use authorization prompt if needed and will run
153
+ regardless of the current location monitoring status (started or stopped).
154
+ */
155
+ + (void )queryCurrentLocation : (IGQueryCompletionHandler)handler ;
156
+
137
157
/* *
138
- Returns a IGLocation object representing the latest location measurement taken by IngeoSDK.
158
+ Returns a IGLocation object representing the latest valid location measurement taken by IngeoSDK.
139
159
*/
140
160
+ (IGLocation *)currentLocation ;
141
161
Original file line number Diff line number Diff line change 1
1
2
2
Pod ::Spec . new do |s |
3
3
s . name = "IngeoSDK"
4
- s . version = "1.3.6 "
4
+ s . version = "1.4.0 "
5
5
s . summary = "Ingeo iOS SDK"
6
6
s . homepage = "http://ingeo.io"
7
7
s . license = 'Apache License, Version 2.0'
You can’t perform that action at this time.
0 commit comments