public interface

PlaceLikelihood

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

Class Overview

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 information about the likelihood value, see the developer's guide.

Summary

Public Methods
abstract float getLikelihood()
Returns a value indicating the degree of confidence that the device is at the corresponding Place.
abstract Place getPlace()
Returns the place associated with this PlaceLikelihood.
[Expand]
Inherited Methods
From interface com.google.android.gms.common.data.Freezable

Public Methods

public abstract float getLikelihood ()

Returns a value indicating the degree of confidence that the device is at the corresponding Place.

A larger value indicates a higher degree of confidence.

Returns
float The degree of confidence that the device is at this place, expressed as a decimal value between 0.0 and 1.0.

public abstract Place getPlace ()

Returns the place associated with this PlaceLikelihood.

Returns
Place The associated place.