public final class

GeoShapeBuilder

extends IndexableBuilder<GeoShapeBuilder>
java.lang.Object
   ↳ com.google.firebase.appindexing.builders.IndexableBuilder<com.google.firebase.appindexing.builders.GeoShapeBuilder>
     ↳ com.google.firebase.appindexing.builders.GeoShapeBuilder

Class Overview

Builder to construct an Indexable for a geographic area described by a shape.

For reference, see: http://schema.org/GeoShape.

Summary

Public Methods
GeoShapeBuilder setBox(String box)
Sets the geographic area with box shape.
[Expand]
Inherited Methods
From class com.google.firebase.appindexing.builders.IndexableBuilder
From class java.lang.Object

Public Methods

public GeoShapeBuilder setBox (String box)

Sets the geographic area with box shape.

Parameters
box String: A box is the area enclosed by the rectangle formed by two points. The first point is the lower corner (south-west), the second point is the upper corner (north-east). Commas is used to separate latitude and longitude to represent the point. A box is expressed as two points separated by a space character given in lat,long degrees. E.g.: "37.751608,-122.424074 37.764622,-122.412747"
Returns
GeoShapeBuilder