AI-generated Key Takeaways
-
PlaceReport indicates a device is located at a specific Place.
-
Place reports should typically be submitted in response to user actions like check-ins or tap-to-pay events.
-
The
createmethod allows you to create a PlaceReport with a place ID and an app-specific context tag. -
You can retrieve the place ID and the context tag using the
getPlaceId()andgetTag()methods respectively.
An indication that the device is currently located at a particular Place
.
Typically, your app should submit a place report in response to a user action, such as a check in at a venue or a tap-to-pay event at a business. This place report indicates strong confidence that the device is at that place. For more information, see the developer's guide on Place Reports .
Inherited Constant Summary
Field Summary
| public static final Creator < PlaceReport > | CREATOR |
Public Method Summary
| static PlaceReport | |
| String | |
| String |
Inherited Method Summary
Fields
public static final Creator < PlaceReport > CREATOR
Public Methods
public static PlaceReport create ( String placeId, String tag)
Creates a PlaceReport
.
Parameters
| placeId | The place id
of the Place
associated with this report. |
|---|---|
| tag | An app-specific context string for the user flow that triggered the report. For more information about tags, see the developer's guide . |
public String getPlaceId ()
Returns the place id associated with this report.
Returns
- The place id.
public String getTag ()
Returns the context tag associated with this report.
Returns
- The context tag.

