PlaceReport

public classPlaceReportextends AbstractSafeParcelable
implementsParcelable

An indication that the device is currently located at a particularPlace.

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 onPlace Reports.

Inherited Constant Summary

Field Summary

public static finalCreator<PlaceReport> CREATOR

Public Method Summary

staticPlaceReport
create(StringplaceId, Stringtag)
Creates aPlaceReport.
String
getPlaceId()
Returns the place id associated with this report.
String
getTag()
Returns the context tag associated with this report.

Inherited Method Summary

Fields

public static finalCreator<PlaceReport> CREATOR

Public Methods

public staticPlaceReport create(StringplaceId,Stringtag)

Creates aPlaceReport.

Parameters
placeId Theplace idof 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 thedeveloper's guide.

publicStringgetPlaceId()

Returns the place id associated with this report.

Returns
  • The place id.

publicStringgetTag()

Returns the context tag associated with this report.

Returns
  • The context tag.