AwarenessFence

public abstract classAwarenessFenceextendsObject
implementsParcelable

A combination of conditions on two or more types of context, which trigger a callback to the app when satisfied.

Inherited Constant Summary

Public Method Summary

staticAwarenessFence
and(AwarenessFence... fences)
Create an awareness fence that is the logical AND of the specified fences.
staticAwarenessFence
and(Collection<AwarenessFence> fences)
Create an awareness fence that is the logical AND of fences in the specified fence collection.
staticAwarenessFence
not(AwarenessFence fence)
Create an awareness fence that is the logical NOT of the specified fence.
staticAwarenessFence
or(AwarenessFence... fences)
Create an awareness fence that is the logical OR of the specified fences.
staticAwarenessFence
or(Collection<AwarenessFence> fences)
Create an awareness fence that is the logical OR of the specified fences.

Inherited Method Summary

Public Methods

public staticAwarenessFence and(AwarenessFence... fences)

Create an awareness fence that is the logical AND of the specified fences.

public staticAwarenessFence and(Collection<AwarenessFence> fences)

Create an awareness fence that is the logical AND of fences in the specified fence collection.

Parameters
fences Collection of fences that should be combined with AND.
Returns
  • The resulting combined awareness fence.

public staticAwarenessFence not(AwarenessFence fence)

Create an awareness fence that is the logical NOT of the specified fence.

Parameters
fence The fence that should be passed through a logical NOT.
Returns
  • The resulting awareness fence.

public staticAwarenessFence or(AwarenessFence... fences)

Create an awareness fence that is the logical OR of the specified fences.

public staticAwarenessFence or(Collection<AwarenessFence> fences)

Create an awareness fence that is the logical OR of the specified fences.

Parameters
fences Collection of fences that should be combined with OR.
Returns
  • The resulting combined awareness fence.