MessageFilter

public class MessageFilter extends Object
implements Parcelable

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.

Nested Class Summary

class MessageFilter.Builder Builder for MessageFilter

Inherited Constant Summary

Field Summary

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 Method Summary

boolean
int
String
void
writeToParcel(Parcel dest, int flags)

Inherited Method Summary

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)

public int hashCode ()

public String toString ()

public void writeToParcel (Parcel dest, int flags)