PWFloor Class Reference
Inherits from | NSObject |
---|---|
Declared in | PWFloor.h |
building
A reference to the floor’s building object.
@property (readonly, weak) PWBuilding *building
Declared In
PWFloor.h
name
The name of the floor as defined in MaaS Portal.
@property (readonly) NSString *name
Declared In
PWFloor.h
pointsOfInterest
An array of PWPointOfInterest
objects that belong to the floor.
@property (readonly) NSArray<PWPointOfInterest*> *pointsOfInterest
Declared In
PWFloor.h
topLeft
The top-left coordinate (latitude and longitude) of the floor.
@property (readonly) CLLocationCoordinate2D topLeft
Declared In
PWFloor.h
bottomRight
The bottom-right coordinate (latitude and longitude) of the floor.
@property (readonly) CLLocationCoordinate2D bottomRight
Declared In
PWFloor.h
– containsCoordinate:
Determines if a given coordinate is contained within the floor’s bounding latitude and longitude.
- (BOOL)containsCoordinate:(CLLocationCoordinate2D)coordinate
Parameters
coordinate |
A CLLocationCoordinate2D object containing latitude and longitude. |
---|
Return Value
Returns a BOOL
value saying if the floor contains the given coordinate.
Declared In
PWFloor.h
– pointsOfInterestOfType:
Returns an array containing the floor’s points of interest of the specified point-of-interest type.
- (NSArray<PWPointOfInterest*> *)pointsOfInterestOfType:(PWPointOfInterestType *)type
Parameters
type |
---|
Return Value
Returns NSArray
containing a list of PWPointOfInterest
objects for the given type.
Declared In
PWFloor.h
– pointsOfInterestOfType:containing:
Returns an array containing the floor’s points of interest of the specified point-of-interest type and whose name or description contains the supplied text.
- (NSArray<PWPointOfInterest*> *)pointsOfInterestOfType:(PWPointOfInterestType *)type containing:(NSString *)containingText
Parameters
type |
|
---|---|
containingText |
A |
Return Value
Returns NSArray
containing a list of PWPointOfInterest
objects for the given type and whose name or description contains the supplied text.
Declared In
PWFloor.h