Interface LocationCustomField

All Superinterfaces:
ICustomField
All Known Implementing Classes:
LocationCustomFieldImpl

public interface LocationCustomField extends ICustomField

Location Custom Field

Represents a location of a task.
  • Method Details

    • getValue

      @NotNull @NotNull String getValue()
      Returns the value of the formatted address. This is the address that is displayed in the UI.

      To actually get the latitude and longitude, use getLatitude() and getLongitude().

      Specified by:
      getValue in interface ICustomField
      Returns:
      the location
    • getLatitude

      float getLatitude()
      Get the latitude of the location.
      Returns:
      the latitude
    • getLongitude

      float getLongitude()
      Get the longitude of the location.
      Returns:
      the longitude
    • getPlaceId

      String getPlaceId()
      The place ID of the location.
      Returns:
      the place ID
    • getType

      default CustomFieldType getType()
      Description copied from interface: ICustomField
      Returns the type of this custom field. This will be one of CustomFieldType.
      Specified by:
      getType in interface ICustomField
      Returns:
      the type of this custom field