PWFloor Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | PWFloor.h |
building
A reference to the floor’s building object.
@property (readonly, weak) PWBuilding *buildingDeclared In
PWFloor.h
name
The name of the floor as defined in MaaS Portal.
@property (readonly) NSString *nameDeclared In
PWFloor.h
pointsOfInterest
An array of PWPointOfInterest objects that belong to the floor.
@property (readonly) NSArray<PWPointOfInterest*> *pointsOfInterestDeclared In
PWFloor.h
topLeft
The top-left coordinate (latitude and longitude) of the floor.
@property (readonly) CLLocationCoordinate2D topLeftDeclared In
PWFloor.h
bottomRight
The bottom-right coordinate (latitude and longitude) of the floor.
@property (readonly) CLLocationCoordinate2D bottomRightDeclared In
PWFloor.h
– containsCoordinate:
Determines if a given coordinate is contained within the floor’s bounding latitude and longitude.
- (BOOL)containsCoordinate:(CLLocationCoordinate2D)coordinateParameters
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 *)typeParameters
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 *)containingTextParameters
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