FenceQueryResult

  • FenceQueryResult is the result for query fence states Api.

  • It provides a FenceStateMap which clients can use to get fence keys and their corresponding FenceState.

  • It inherits the getStatus method from the Result interface to return the status of the result.

public interface FenceQueryResult 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 for query fence states Api

Public Method Summary

abstract FenceStateMap
getFenceStateMap()
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 FenceStateMap getFenceStateMap ()

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.

Provides FenceStateMap that can be used by clients to obtain all the fence keys that are returned in response or the FenceState for the given fence key.

Returns