SITBuilding
@interface SITBuilding : SITResource
Provides information about the places where indoor location is supported.
-
-initWithIdentifier:createdAt:updatedAt:customFields:userIdentifier:name:center:info:dimensions:rotation:pictureURL:pictureThumbURL:
Initializer method
Declaration
Objective-C
- (instancetype _Nonnull)initWithIdentifier:(NSString *_Nonnull)identifier createdAt:(NSDate *_Nonnull)createdAt updatedAt:(NSDate *_Nonnull)updatedAt customFields:(NSDictionary *_Nonnull)customFields userIdentifier:(NSString *_Nonnull)userIdentifier name:(NSString *_Nonnull)name center:(CLLocationCoordinate2D)center info:(NSString *_Nonnull)info dimensions:(SITDimensions *_Nonnull)dimensions rotation:(SITAngle *_Nonnull)rotation pictureURL:(SITURL *_Nonnull)pictureURL pictureThumbURL:(SITURL *_Nonnull)pictureThumbURL;
Parameters
createdAt
Creation date
updatedAt
Last updated date
customFields
Key-value pairs that can be used to store information
userIdentifier
Identifier of the user who creates the building
name
Name if the building
center
Cartesian coordinates of the center of the building
info
String containing additional information
dimensions
Structure containing the widht and height of the building
rotation
Rotation angle of the building’s base, relative to the west-east axis, increasing in counter-clockwise, being 0 the west-east axis.
pictureURL
URL of the building image
pictureThumbURL
URL of the thumbnail building image
Return Value
SITBuilding
-
Identifier of the user who created the building
Declaration
Objective-C
@property (readwrite, strong, nonatomic) NSString *_Nonnull userIdentifier;
-
Name of the building.
Declaration
Objective-C
@property (readwrite, strong, nonatomic) NSString *_Nonnull name;
-
Address of the building.
Declaration
Objective-C
@property (readwrite, strong, nonatomic) NSString *_Nonnull address;
-
Detailed information in HTML format
Declaration
Objective-C
@property (readwrite, strong, nonatomic) NSString *_Nonnull infoHTML;
-
Rotation angle of the building’s base, relative to the west-east axis, increasing in counter-clockwise, being 0 the west-east axis.
Declaration
Objective-C
@property (readwrite, strong, nonatomic) SITAngle *_Nonnull rotation;
-
URL of the building image
Declaration
Objective-C
@property (readwrite, strong, nonatomic) SITURL *_Nonnull pictureURL;
-
URL of the thumbnail building image
Declaration
Objective-C
@property (readwrite, strong, nonatomic) SITURL *_Nonnull pictureThumbURL;
-
Size of the building
Declaration
Objective-C
- (SITDimensions *_Nonnull)dimensions;
Return Value
SITDimensions
structure containing the widht and height of the building -
Geographical coordinate of the building
Declaration
Objective-C
- (CLLocationCoordinate2D)center;
Return Value
CLLocationCoordinate2D