| java.lang.Object | |
| ↳ | com.google.android.gms.awareness.fence.BeaconFence |
Use this class to create beacon fences.
The fences in this class support detecting nearby beacons that are associated with attachments, which are a triple of namespace, type, and content.
Note: Values that indicate a changing state are momentarily TRUE for
about 5 seconds, then automatically revert to FALSE.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This fence is momentarily
TRUE (about 5 seconds) when a beacon with the
specified types is found. | |||||||||||
This fence is momentarily
TRUE (about 5 seconds) when a beacon with the
specified types is found. | |||||||||||
This fence is momentarily
TRUE (about 5 seconds) when a beacon with the
specified types is lost. | |||||||||||
This fence is momentarily
TRUE (about 5 seconds) when a beacon with the
specified types is lost. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
This fence is momentarily TRUE (about 5 seconds) when a beacon with the
specified types is found.
android.permission.ACCESS_FINE_LOCATION
permission in AndroidManifest.xml, and the user must provide consent at
runtime.| beaconTypes | Collection of beacon types to scan for. |
|---|
This fence is momentarily TRUE (about 5 seconds) when a beacon with the
specified types is found.
android.permission.ACCESS_FINE_LOCATION
permission in AndroidManifest.xml, and the user must provide consent at
runtime.| beaconTypes | BeaconState.TypeFilter listing beacon types
to scan for. |
|---|
This fence is momentarily TRUE (about 5 seconds) when a beacon with the
specified types is lost.
android.permission.ACCESS_FINE_LOCATION
permission in AndroidManifest.xml, and the user must provide consent at
runtime.| beaconTypes | BeaconState.TypeFilter listing beacon types. |
|---|
This fence is momentarily TRUE (about 5 seconds) when a beacon with the
specified types is lost.
android.permission.ACCESS_FINE_LOCATION
permission in AndroidManifest.xml, and the user must provide consent at
runtime.| beaconTypes | Collection of beaconTypes to scan for. |
|---|