public interface

PlaceLikelihood

implements Freezable<PlaceLikelihood>
com.google.android.gms.location.places.PlaceLikelihood

Class Overview

Represents a Place and the relative likelihood of the place being the best match within the list of returned places for a single request.

For more about likelihoods, see PlaceLikelihoodBuffer.

Summary

Public Methods
abstract float getLikelihood()
Returns a value from 0.0 to 1.0 indicating the confidence that the user is at this place.
abstract Place getPlace()
Returns the place contained in this PlaceLikelihood.
[Expand]
Inherited Methods
From interface com.google.android.gms.common.data.Freezable

Public Methods

public abstract float getLikelihood ()

Returns a value from 0.0 to 1.0 indicating the confidence that the user is at this place.

The larger the value the more confident we are of the place returned. For example, a likelihood of 0.75 means that the user is at least 75% likely to be at this place.

public abstract Place getPlace ()

Returns the place contained in this PlaceLikelihood.