OYMLocationResult Class Reference
Inherits from | NSObject |
---|---|
Conforms to | OYMJsonProtocol |
Declared in | OYMLocationResult.h OYMLocationResult.m |
accuracy
Position accuracy (meters)
@property (readonly) double accuracy
Declared In
OYMLocationResult.h
type
Positioning type: kOYMLocationTypeNo, kOYMLocationTypeIbeacon, kOYMLocationTypeGps
@property (readonly) int type
Declared In
OYMLocationResult.h
buildingName
Building name
@property (readonly) NSString *buildingName
Declared In
OYMLocationResult.h
geofences
Number of geofences crossed
@property (readonly) int geofences
Declared In
OYMLocationResult.h
– initWithLongitude:andLatitude:andUsed:andAccuracy:andFound:andFloorId:andFloorNumber:andType:andBuildingName:andBuildingId:andGeofences:
Constructor with the given data, according to positioning type source.
- (instancetype)initWithLongitude:(double)_longitude andLatitude:(double)_latitude andUsed:(int)_used andAccuracy:(double)_accuracy andFound:(NSArray *)_found andFloorId:(NSString *)_floor andFloorNumber:(int)_floorNumber andType:(int)_type andBuildingName:(NSString *)_buildingName andBuildingId:(NSString *)_building andGeofences:(int)_geofences
Parameters
_longitude |
WGS84 Longitude |
---|---|
_latitude |
WGS84 Latitude |
_used |
No. of Beacons/satellites used |
_accuracy |
Accuracy (meters) |
_found |
List including Longitude, Latitude and Accuracy of each Beacon in the range |
_floor |
Floor ID |
_floorNumber |
Floor number |
_type |
Position type: #kOYMLocationTypeNo, #kOYMLocationTypeIbeacon, or #kOYMLocationTypeGps |
_buildingName |
Building name if #kOYMLocationTypeIbeacon, nil otherwise |
_building |
Building ID |
geofences |
Number of geofences added |
Return Value
Return the OYMLocationResult Object.
Declared In
OYMLocationResult.h
– initWithCLLocation:andGeofences:
Constructor with the given data, according to positioning type source.
- (instancetype)initWithCLLocation:(CLLocation *)_location andGeofences:(int)_geofences
Parameters
_location |
CLLocation object |
---|---|
_geofences |
Number of geofences added |
Return Value
Return the OYMLocationResult Object.
Declared In
OYMLocationResult.h