public class

MessageFilter

extends Object
implements Parcelable
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 android.os.Parcelable
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
From interface android.os.Parcelable

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

public boolean equals (Object o)

Parameters
o Object
Returns
boolean

public int hashCode ()

Returns
int

public String toString ()

Returns
String

public void writeToParcel (Parcel dest, int flags)

Parameters
dest Parcel
flags int