Class IARegion

  • All Implemented Interfaces:
    Parcelable

    public class IARegion
    extends Object
    implements Parcelable

    A data object describing a typed region in IndoorAtlas namespace. Each IALocation update refers to a IARegion.

    • Constructor Detail

      • IARegion

        protected IARegion​(Parcel in)
    • Method Detail

      • getType

        public int getType()
        Returns the type of the region. See IARegion for possible values defined as TYPE_XXX.
      • getId

        public String getId()
        Return the id of the region.
        See Also:
        getType()
      • getName

        public String getName()
        Returns the name of the region. This is the name of the venue or floor plan.
        See Also:
        getType()
      • getTimestamp

        public long getTimestamp()
        Unix timestamp in milliseconds, i.e. time since Jan 1st 1970, 00:00 UTC. This value is set to the time when the region is received from the service during positioning but may be zero when this object is create manually.
      • getVenue

        public IAVenue getVenue()
        Return the venue metadata. This will be null if this region represents a floor plan.
        Since:
        SDK 2.9
      • getFloorPlan

        public IAFloorPlan getFloorPlan()
        Return the floor plan metadata. This will be null if this region represents a venue.
        Since:
        SDK 2.9
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object