ArcGIS Runtime SDK for iOS: AGSNMEALocationDataSource.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSNMEALocationDataSource.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSLocationDataSource.h>
29 #import <ExternalAccessory/EAAccessory.h>
30 
31 
32 
35 @class AGSSpatialReference;
37 
45 @optional
46 
53 - (void)NMEALocationDataSource:(AGSNMEALocationDataSource *)NMEALocationDataSource satellitesDidChange:(NSArray<AGSNMEASatelliteInfo*> *)satellites;
54 
55 @end
56 
78 
79 #pragma mark -
80 #pragma mark initializers
81 
88 - (instancetype)init;
89 
97 + (instancetype)NMEALocationDataSource;
98 
107 - (instancetype)initWithReceiverSpatialReference:(AGSSpatialReference *)receiverSpatialReference;
108 
118 + (instancetype)NMEALocationDataSourceWithReceiverSpatialReference:(AGSSpatialReference *)receiverSpatialReference;
119 
132 - (instancetype)initWithReceiverSpatialReference:(AGSSpatialReference *)receiverSpatialReference
133  outputSpatialReference:(nullable AGSSpatialReference *)outputSpatialReference;
134 
148 + (instancetype)NMEALocationDataSourceWithReceiverSpatialReference:(AGSSpatialReference *)receiverSpatialReference
149  outputSpatialReference:(nullable AGSSpatialReference *)outputSpatialReference;
150 
165 - (instancetype)initWithReceiverSpatialReference:(AGSSpatialReference *)receiverSpatialReference
166  outputSpatialReference:(nullable AGSSpatialReference *)outputSpatialReference
167  outputDatumTransformation:(nullable AGSDatumTransformation *)outputDatumTransformation;
168 
183 + (instancetype)NMEALocationDataSourceWithReceiverSpatialReference:(AGSSpatialReference *)receiverSpatialReference
184  outputSpatialReference:(nullable AGSSpatialReference *)outputSpatialReference
185  outputDatumTransformation:(nullable AGSDatumTransformation *)outputDatumTransformation;
186 
208 - (nullable instancetype)initWithEAAccessory:(EAAccessory *)accessory
209  protocol:(NSString *)protocolString;
210 
232 + (nullable instancetype)NMEALocationDataSourceWithEAAccessory:(EAAccessory *)accessory
233  protocol:(NSString *)protocolString;
234 
235 #pragma mark -
236 #pragma mark properties
237 
241 @property (nullable, nonatomic, strong, readonly) AGSDatumTransformation *outputDatumTransformation;
242 
249 @property (nullable, nonatomic, strong, readonly) AGSSpatialReference *outputSpatialReference;
250 
257 @property (nonatomic, strong, readonly) AGSSpatialReference *receiverSpatialReference;
258 
262 @property (nullable, nonatomic, weak, readwrite) id<AGSNMEALocationDataSourceDelegate> locationChangeHandlerDelegate;
263 
264 #pragma mark -
265 #pragma mark methods
266 
289 - (void)pushData:(NSData *)data;
290 
291 @end
292 
293 
A base class for transformation between two coordinate systems that have different datums.
Definition: AGSDatumTransformation.h:53
An abstract base class that provides location updates to AGSLocationDisplay.
Definition: AGSLocationDataSource.h:55
An NMEA location data source object.
Definition: AGSNMEALocationDataSource.h:78
AGSSpatialReference * receiverSpatialReference
Definition: AGSNMEALocationDataSource.h:257
AGSSpatialReference * outputSpatialReference
Definition: AGSNMEALocationDataSource.h:249
id< AGSNMEALocationDataSourceDelegate > locationChangeHandlerDelegate
Definition: AGSNMEALocationDataSource.h:262
instancetype NMEALocationDataSource()
AGSDatumTransformation * outputDatumTransformation
Definition: AGSNMEALocationDataSource.h:241
An NMEA satellite info instance.
Definition: AGSNMEASatelliteInfo.h:52
Represents the spatial reference of a geometry.
Definition: AGSSpatialReference.h:46
A change handler delegate for AGSLocationDataSource.
Definition: AGSLocationDataSource.h:151
A change handler delegate for AGSNMEALocationDataSource.
Definition: AGSNMEALocationDataSource.h:44