Summary: Inherited Constants | Methods | Inherited Methods | [Expand All]
public abstract class

# AwarenessFence

extends Object
implements SafeParcelable

java.lang.Object
↳ | com.google.android.gms.awareness.fence.AwarenessFence

## Class Overview

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

## Summary

[Expand] Inherited Constants
From interface com.google.android.gms.common.internal.safeparcel.SafeParcelable
String | NULL |
From interface android.os.Parcelable
int | CONTENTS_FILE_DESCRIPTOR |
int | PARCELABLE_WRITE_RETURN_VALUE |

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

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()
From interface android.os.Parcelable
abstract int | describeContents()
abstract void | writeToParcel(Parcel arg0, int arg1)

## Public Methods

#### public static AwarenessFence and (AwarenessFence... fences)

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

#### public static AwarenessFence 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 static AwarenessFence 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 static AwarenessFence or (AwarenessFence... fences)

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

#### public static AwarenessFence 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.