SMPDataAPILocationProtocol Protocol - Defines a interface that all location objects must adhere to.
All members of SMPDataAPILocationProtocol, including inherited members.
MethodsMethod | Description |
---|---|
- (id) initWithCLLocation: (CLLocation *) location | Initializer for the SMPOpenUILocation object from a CLLocation. |
- (id) initWithLatitude: (double) latitude andLongitude: (double) longitude andSatellites: (int) satellites andDilution: (double) dilution | Initializer for the SMPOpenUILocation object. |
+ (id) locationWithCLLocation: (CLLocation *) location | Get an autoreleased SMPOpenUILocation object from a CLLocation. |
+ (id) locationWithLatitude: (double) latitude andLongitude: (double) longitude andSatellites: (int) satellites andDilution: (double) dilution | Get an autoreleased SMPOpenUILocation object. |
Property | Description |
---|---|
@property (nonatomic,readonly) double dilution | The dilution of the location. |
@property (nonatomic,readonly) double latitude | The latitude of the location. |
@property (nonatomic,readonly) CLLocation * location | This location object as an auto release CLLocation object. |
@property (nonatomic,readonly) double longitude | The longitude of the location. |
@property (nonatomic,readonly) NSInteger satellites | The number of satellites used in the reading of the location. |
@property (nonatomic,readonly) BOOL valid | A Boolean value representing whether the location object is valid. |