| Constructor |
| public MessagePicker.Builder() Creates an instance of MessagePicker. |
| Return type | Method name |
| MessagePicker | build() Creates an instance of MessagePicker. |
| MessagePicker.Builder | includeAllTypes() Picks among all messages published by the app. |
| MessagePicker.Builder | includeEddystoneUids(String hexNamespace, String hexInstance) Includes Eddystone UIDs. |
| MessagePicker.Builder | includePicker(MessagePicker picker) Includes the previously constructed picker. |
| MessagePicker.Builder | includeIBeaconIds(UUID proximityUuid, Short major, Short minor) Includes iBeacon IDs. |
| MessagePicker.Builder | includeNamespaceType(String namespace, String type) Picks among all messages in the specified namespace and with the specified type. A namespace can be specified only for beacon messages. |
| Constructor |
| public MessagePicker.Builder() |
| Creates an instance of MessagePicker. |
| Method |
| public MessagePicker build() |
| Creates an instance of MessagePicker. |
| Method |
| public MessagePicker.Builder includeAllTypes() |
| Includes all messages published by the app. |
| Method |
| public MessagePicker.Builder includeEddystoneUids(String hexNamespace, String hexInstance) |
| Includes Eddystone UIDs.An Eddystone UID message contains the following information: namespace = MESSAGE_NAMESPACE_RESERVED type = MESSAGE_TYPE_EDDYSTONE_UID Use parse(Message) to parse the message content. |
Parameters
| Parameter name | Parameter desc |
| hexNamespace | 10-byte namespace of an Eddystone UID (in hexadecimal format), for example, c526dfec5403adc62585. |
| hexInstance | 6-byte instance of an Eddystone UID (in hexadecimal format), for example, 32ddbcad1576. |
| Method |
| public MessagePicker.Builder includePicker(MessagePicker picker) |
| Includes the previously constructed picker. |
Parameters
| Parameter name | Parameter desc |
| messagePicker | messagePicker object. |
| Method |
| public MessagePicker.Builder includeIBeaconIds(UUID proximityUuid, Short major, Short minor) |
| Includes iBeacon ID messages. An iBeacon ID message contains the following information: namespace = MESSAGE_NAMESPACE_RESERVED type = MESSAGE_TYPE_I_BEACON_ID Use parse(Message) to parse the message content. |
Parameters
| Parameter name | Parameter desc |
| proximityUuid | Proximity UUID. |
| major | Major value. |
| minor | Minor value. |
Parameters
| Parameter name | Parameter desc |
| namespace | Namespace of a message. The value cannot be empty or contain asterisks (*). |
| type | Type of a message. The value cannot be empty or contain asterisks (*). |