PlacesResult

  • The PlacesResult interface is deprecated as of August 07, 2019, and will be turned off by October 30, 2019.

  • Existing implementations can continue using this interface until October 30, 2019, but new implementations should use the Places SDK for Android.

  • The PlacesResult interface includes the getPlaceLikelihoods() method, which returns a list of PlaceLikelihood objects indicating the current places and their likelihoods for the device.

  • As a Result interface, it also includes the getStatus() method to check the status of the result.

public interface PlacesResult implements Result

This interface is deprecated.
This method is deprecated as of August 07, 2019, and will be turned off by October 30, 2019. Continued use of these signals is restricted to customers with existing implementations, through October 30, 2019. New implementations must use the Places SDK for Android instead of the Places contextual signal.

Result from getPlaces(GoogleApiClient).

Public Method Summary

abstract List<PlaceLikelihood>
getPlaceLikelihoods()
Returns the current places with likelihoods that the device is at.

Inherited Method Summary

Public Methods

public abstract List<PlaceLikelihood> getPlaceLikelihoods ()

Returns the current places with likelihoods that the device is at.

Returns
  • Place likelihoods if getStatus() is successful, otherwise null.