SMGeoPositionData Class Reference

Inherits from SMSensorData : NSObject
Declared in SMGeoPositionData.h
SMGeoPositionData.m

Overview

Position data for GPS coordinates

Other Methods

  latitude

Latitude position of the geolocation

@property (nonatomic) CLLocationDegrees latitude

Discussion

Latitude position of the geolocation

Declared In

SMGeoPositionData.h

  longitude

Longitude position of the geolocation

@property (nonatomic) CLLocationDegrees longitude

Discussion

Longitude position of the geolocation

Declared In

SMGeoPositionData.h

  altitude

Altitude of the geolocation

@property (nonatomic) CLLocationDistance altitude

Discussion

Altitude of the geolocation

Declared In

SMGeoPositionData.h

– initWithPosition:altitude:

Initialises a Geo Position Data structure

- (id)initWithPosition:(CLLocationCoordinate2D)position altitude:(CLLocationDistance)altitude

Parameters

position

Position

altitude

Altitude (m)

Return Value

instance

Discussion

Initialises a Geo Position Data structure

Declared In

SMGeoPositionData.h

Other Methods

– serialise

Serialised data to JSON object

- (id)serialise

Return Value

JSON object

Discussion

Serialised data to JSON object

Declared In

SMSensorData.h