目录

CLASS info
public class MessagePicker implements Parcelable
Specifies the set of messages to be received. When the sharing code is discovered, the MessagePicker must match the message. A MessagePicker is the logical OR of multiple pickers.

Nested Class Summary

TypeNameDesc
ClassMessagePicker.BuilderRepresents the builder class for MessagePicker.

Field Summary

TypeNameDesc
public static final Creator<MessagePicker>CREATOR
public static final MessagePickerINCLUDE_ALL_TYPESPicker that returns all types of messages published by the app.

Public Method Summary

ReturnMethod
booleanequals(Object other)
Checks whether any other object is the same as this object.
inthashCode()
Obtains the hash value.
StringtoString()
Converts an object into a readable character string.
voidwriteToParcel(Parcel dest, int flags)
Writes this value into a dest parcel.

Public Methods

Method
public boolean equals(Object other)
Checks whether any other object is the same as this object.

Parameters

Parameter nameParameter desc
otherOther object.
Method
public int hashCode()
Obtains the hash value.
Method
public String toString()
Converts an object into a readable character string.
Method
public void writeToParcel(Parcel dest, int flags)
Writes this value into a dest parcel.

Parameters

Parameter nameParameter desc
destParcel to which this object is written.
flagsWriting mode.