Class InfoboxWithLocation


public final class InfoboxWithLocation extends AbstractGraphInfobox
Represents an infobox with location information in search results. This class provides structured information about locations in the Brave Search API results.
  • Method Details

    • getSubType

      public String getSubType()
      Returns the infobox subtype.
      Returns:
      the subtype
    • getIsLocation

      public Boolean getIsLocation()
      Returns whether this is a location.
      Returns:
      whether this is a location
    • getCoordinates

      public List<Double> getCoordinates()
      Returns the coordinates.
      Returns:
      the coordinates
    • getZoomLevel

      public Integer getZoomLevel()
      Returns the zoom level.
      Returns:
      the zoom level
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object