SITExternalLocation
Objective-C
@interface SITExternalLocation : NSObject
Swift
class SITExternalLocation : NSObject
Describes a external location to be inyected to the sdk.
-
Building identifier of the external location
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull buildingIdentifier;
Swift
var buildingIdentifier: String { get }
-
Floor identifier of the external location
Declaration
Objective-C
@property (nonatomic, readonly) NSString *_Nonnull floorIdentifier;
Swift
var floorIdentifier: String { get }
-
Coordinate of the external location
Declaration
Objective-C
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
Swift
var coordinate: CLLocationCoordinate2D { get }
-
Accuracy radius (in meters).
Declaration
Objective-C
@property (nonatomic, readonly) float accuracy;
Swift
var accuracy: Float { get }
-
Constructor
Declaration
Objective-C
- (nonnull instancetype) initWithBuildingIdentifier:(nonnull NSString *)buildingIdentifier floorIdentifier:(nonnull NSString *)floorIdentifier latitude:(float)latitude longitude:(float)longitude;
Swift
init(buildingIdentifier: String, floorIdentifier: String, latitude: Float, longitude: Float)
Parameters
buildingIdentifier
building identifier
floorIdentifier
floor identifier
latitude
latitude
longitude
longitude