PWLocation Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | PWLocationProtocol.h |
Overview
The PWLocation
is an abstract protocol that defines an indoor location. This protocol is primarily used for user-requested directions and for displaying the user’s location on an indoor map.
coordinate
required method
The latitude and longitude coordinates of the indoor location. (read-only)
@property (readonly) CLLocationCoordinate2D coordinate
Declared In
PWLocationProtocol.h
horizontalAccuracy
required method
The radius of uncertainty for the location, in meters. (read-only)
@property (readonly) CLLocationAccuracy horizontalAccuracy
Discussion
The location’s latitude and longitude identify the center of the circle, this value would indicate the radius of that circle. A value of -1 indicates that the location’s latitude and longitude are invalid.
Declared In
PWLocationProtocol.h
floorID
required method
The floor ID associated with the location.
@property (readonly) NSInteger floorID
Discussion
If the location is outdoors this value should be kPWUnknownFloorID
. (read-only)
Declared In
PWLocationProtocol.h
timestamp
required method
The time at which the location was reported by a location manager.
@property (strong, readonly) NSDate *timestamp
Declared In
PWLocationProtocol.h