Class Geofence

  • All Implemented Interfaces:
    android.os.Parcelable, Filterable

    public class Geofence
    extends Resource
    implements android.os.Parcelable
    Represents a geographic region in a building. Can be monitored to check if an user enter or exits the polygon and to get analytics.
    • Field Detail

      • CREATOR

        public static final android.os.Parcelable.Creator<Geofence> CREATOR
    • Method Detail

      • getName

        public String getName()
        Returns the name of the geofence
      • getCode

        public String getCode()
        Returns the code of the geofence
      • getDescription

        public String getDescription()
        this method is replaced by @link #getInfoHtml()
        Returns the description of the geofence
      • getInfoHtml

        public String getInfoHtml()
        Returns the information of the geofence
        string containing additional information of the geofence in html format
      • getFloorIdentifier

        public String getFloorIdentifier()
        Returns the floor identifier of the floor where it is placed
      • getBuildingIdentifier

        public String getBuildingIdentifier()
        Returns the building identifier to which the geofence belongs
      • getPolygonPoints

        public List<Point> getPolygonPoints()
        Returns a list of points of the closed polygon that represents the geofence
      • describeContents

        public int describeContents()
        Specified by:
        describeContents in interface android.os.Parcelable
      • writeToParcel

        public void writeToParcel​(android.os.Parcel dest,
                                  int flags)
        Specified by:
        writeToParcel in interface android.os.Parcelable