Sublocation class abstract

Class is used for storing sublocation parameters: identifier, name, width, heigth, etc. The list of sublocations for the current location can be obtained from Location class using public method getSublocations. Referenced from Location.

Implemented types
Implementers

Constructors

Sublocation()

Properties

altitude double?
sublocation's altitude in meters if specified.
no setter
azimuth double
sublocation's azimuth in degrees clockwise.
no setter
beacons List<Beacon>
List of beacons, attached to this sublocation Beacon.
no setter
buildingName String
sublocation's building name (e.g. "Outdoor" for overview plan).
no setter
eddystones List<Eddystone>
List of eddystones, attached to this sublocation Eddystone.
no setter
externalId String
sublocation's externalId.
no setter
hashCode int
The hash code for this object.
no setterinherited
height double
sublocation's height in meters.
no setter
id int
sublocation's identifier.
no setter
levelId String
sublocation's levelId.
no setter
location int
location's identifier to which the sublocation belongs.
no setter
name String
sublocation's name.
no setter
originPoint GlobalPoint
sublocation's center point in WGS84 coordinates GlobalPoint.
no setter
referencePoints List<ReferencePoint>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
venues List<Venue>
List of venues, attached to this sublocation Venue.
no setter
width double
sublocation's width in meters.
no setter
wifis List<Wifi>
List of wifis, attached to this sublocation Wifi.
no setter
zones List<Zone>
List of zones, attached to this sublocation Zone.
no setter

Methods

getGraph(String tag) Graph
Method is used to obtain graph (within the current sublocation) with the specified identifier or null if no such graph. tag graph tag. Returns found graph or null Graph.
getImage(int? maxTextureSize) ImageWrapper
Method is used to obtain origin sublocation image with specified maxTextureSize. maxTextureSize maximum texure size to render. Returns platform image.
getVenueById(int id) Venue
Method returns the venue (within the current sublocation) with the specified identifier or null if no such venue exists. id venue unique identifier. Returns found venue object or null Venue.
getZoneById(int id) Zone
Method returns the zone (within the current sublocation) with the specified identifier or null if no such zone exists. id zone unique identifier. Returns found zone object or null Zone.
globalToLocal(GlobalPoint globalPoint) LocationPoint
Method is used for converting the global geographic coordinates (latitude and longitude) to the local sublocation coordinates (x and y) using the geographic binding of the sublocation globalPoint point in WGS84 coordinates GlobalPoint Returns point in metrics coordinates LocationPoint.
localToGlobal(LocationPoint localPoint) GlobalPoint
Method is used for converting the local sublocation coordinates to the global geographic coordinates (latitude and longitude) using the geographic binding of the sublocation. localPoint point in metrics coordinates LocationPoint Returns point in WGS84 coordinates GlobalPoint.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited