Android APIs
public class

PlaceReport

extends Object
implements Parcelable
java.lang.Object
   ↳ com.google.android.gms.location.places.PlaceReport

Class Overview

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.

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Fields
public static final Creator<PlaceReport> CREATOR
Public Methods
static PlaceReport create(String placeId, String tag)
Creates a PlaceReport.
int describeContents()
boolean equals(Object that)
String getPlaceId()
Returns the place id associated with this report.
String getTag()
Returns the context tag associated with this report.
int hashCode()
String toString()
void writeToParcel(Parcel out, int flags)
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

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 int describeContents ()

public boolean equals (Object that)

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.

public int hashCode ()

public String toString ()

public void writeToParcel (Parcel out, int flags)