We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

Documents from this version have been archived, and will not continue to be maintained. Please use the latest version.

HMS Core ReferencesNearby Servicenearby.messageMessagePickerOverview

message.MessagePicker

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.
This page may contain third-party content. For details, click here.
Search in References
Enter a keyword.