Class Property

java.lang.Object
com.here.NativeBase
com.here.sdk.venue.data.Property

public final class Property extends NativeBase

Holds information of varying types, such as Boolean, Integer, String. Properties are used in VenueModel VenueDrawing, VenueLevel and VenueGeometry to describe this objects.

  • Method Details

    • getType

      @NonNull public Property.PropertyType getType()

      Gets a type of the property.

      It can be used to get type of property.

      Returns:

      The type of the property.

    • isBool

      public boolean isBool()

      Gets the property as a Boolean value.

      Converts the value of the property to a boolean.

      Returns:

      The Boolean value.

    • getInt

      public int getInt()

      Gets the property as an Integer value.

      Converts the value of the property to a Integer.

      Returns:

      The Integer value.

    • getString

      @NonNull public String getString()

      Gets the property as a String value.

      Converts the value of the property to a boolean.

      Returns:

      The String value.