TimeIntervalsResult

  • TimeIntervalsResult is a Result from getTimeIntervals(GoogleApiClient).

  • It provides a getTimeIntervals() method to get attributes for the current day at the device's locale.

  • The getTimeIntervals() method returns a TimeIntervals object if the status is successful, otherwise null.

  • It inherits a getStatus() method from the Result interface to check the status of the result.

public interface TimeIntervalsResult implements Result

This interface is deprecated.
The Awareness API is deprecated and will be turned down in a future Google Play services release, as early as January 2027. There is no direct replacement.

Result from SnapshotApi.getTimeIntervals(GoogleApiClient).

Public Method Summary

abstract TimeIntervals
getTimeIntervals()
This method is deprecated. The Awareness API is deprecated and will be turned down in a future Google Play services release, as early as January 2027. There is no direct replacement.

Inherited Method Summary

Public Methods

public abstract TimeIntervals getTimeIntervals ()

This method is deprecated.
The Awareness API is deprecated and will be turned down in a future Google Play services release, as early as January 2027. There is no direct replacement.

Returns the attributes corresponding to the current day at the device's current locale

Returns