MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPPositionResult.h
Go to the documentation of this file.
1//
2// MPPositionResult.h
3// MapsIndoors
4//
5// Created by Daniel Nielsen on 10/03/14.
6// Copyright (c) 2014 MapsPeople A/S. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "MPPoint.h"
11#import "MPJSONModel.h"
12
13
17@interface MPPositionResult : MPJSONModel
18
19- (_Nullable instancetype) initWithWirelessPositionData:(nonnull NSData*) positionData;
20
24@property (nonatomic, strong, nullable) MPPoint* geometry;
25
29@property (nonatomic) BOOL headingAvailable;
30
34@property (nonatomic, strong, nullable) NSMutableDictionary* properties;
35
40@property (nonatomic, strong, nullable) NSString* type DEPRECATED_MSG_ATTRIBUTE("Marked as obsolete property");
41
45@property (nonatomic, weak, nullable) id<Optional> provider;
46
52- (double) getProbability;
53
60- (double) getRoundtrip DEPRECATED_MSG_ATTRIBUTE("Marked as obsolete method");
61
67- (double) getHeadingDegrees;
68
75- (nullable NSNumber*) getAge DEPRECATED_MSG_ATTRIBUTE("Marked as obsolete method");
76
82- (nullable NSNumber*)getFloor;
83
84- (void) setProbability:(double)probability;
90- (void) setHeadingDegrees:(double)heading;
91
92@end
Definition MPPoint.h:23
Definition MPPositionResult.h:18
BOOL headingAvailable
Definition MPPositionResult.h:29
nullable NSNumber * getAge()
id< Optional > provider
Definition MPPositionResult.h:45
double getProbability()
MPPoint * geometry
Definition MPPositionResult.h:24
NSMutableDictionary * properties
Definition MPPositionResult.h:34
NSString * type
Definition MPPositionResult.h:40
double getHeadingDegrees()
nullable NSNumber * getFloor()