GMSPlaceLikelihood Class Reference

GMSPlaceLikelihood Class Reference

Overview

Represents a GMSPlace 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 place likelihoods, see GMSPlaceLikelihoodList.

Public Member Functions

(instancetype) - initWithPlace:likelihood:

Properties

GMSPlaceplace
 The place contained in this place likelihood.
double likelihood
 Returns a value from 0.0 to 1.0 indicating the confidence that the user is at this place.

Member Function Documentation

- (instancetype) initWithPlace: (GMSPlace *)  place
likelihood: (double)  likelihood 

Property Documentation

- (GMSPlace*) place [read, assign]

The place contained in this place likelihood.

- (double) likelihood [read, assign]

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.