public interface

FenceStateMap

com.google.android.gms.awareness.fence.FenceStateMap

Class Overview

A map of fence states keyed off of the fence keys resulting from a FenceQueryRequest.

Summary

Public Methods
abstract Set<String> getFenceKeys()
Returns the Set of fence keys that are contained in this FenceStateMap.
abstract FenceState getFenceState(String fenceKey)
Returns a FenceState for the given fence key.

Public Methods

public abstract Set<String> getFenceKeys ()

Returns the Set of fence keys that are contained in this FenceStateMap.

Returns
Set<String>

public abstract FenceState getFenceState (String fenceKey)

Returns a FenceState for the given fence key. If no FenceState is found null is returned.

Parameters
fenceKey String
Returns
FenceState