Summary: Nested Classes | Inherited Constants | Fields | Methods | Inherited Methods | [Expand All]
public class

# MessageFilter

extends Object
implements SafeParcelable

java.lang.Object
↳ | com.google.android.gms.nearby.messages.MessageFilter

## Class Overview

Used to specify the set of messages to be received. In order to receive a message, the `MessageFilter` must match the message. A `MessageFilter` is the logical OR of multiple single filters.

## Summary

Nested Classes
class | MessageFilter.Builder | Builder for `MessageFilter`.

[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 |

Fields
public static final Creator<MessageFilter> | CREATOR |
public static final MessageFilter | INCLUDE_ALL_MY_TYPES | A convenient filter that returns all types of messages published by this application's project.

Public Methods
boolean | equals(Object o)
int | hashCode()
String | toString()
void | writeToParcel(Parcel dest, int flags)

[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)

## Fields

#### public static final Creator<MessageFilter> CREATOR

#### public static final MessageFilter INCLUDE_ALL_MY_TYPES

A convenient filter that returns all types of messages published by this application's project.

##### See Also

- `includeAllMyTypes()`

## Public Methods

#### public boolean equals (Object o)

#### public int hashCode ()

#### public String toString ()

#### public void writeToParcel (Parcel dest, int flags)