An immutable object that represents and Agentry location.
All members of SMPOpenUILocation, 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. |
It provides utility constructors to ease working with CLLocation objects as well as to get this object as a CLLocation object.