Summary: Methods | Inherited Methods | [Expand All]
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
abstract PlaceLikelihood | freeze() Freeze a volatile representation into an immutable representation.
abstract boolean | isDataValid() Check to see if this object is valid for use.

## 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

- 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

- The associated place.