| Constructor |
| public GetOption.Builder() Creates an instance of GetOption. |
| Return type | Method name |
| GetOption | build() Creates an instance of GetOption |
| GetOption.Builder | setCallback(GetCallback callback) Sets a callback executed when key subscription events occur. |
| GetOption.Builder | setPicker(MessagePicker picker) Sets the rule for filtering messages to be received. |
| GetOption.Builder | setPolicy(Policy policy) Sets the policy for subscribing to messages. The DEFAULT policy is used by default. |
| Constructor |
| public GetOption.Builder() |
| Creates an instance of GetOption. |
| Method |
| public GetOption build() |
| Creates an instance of GetOption |
| Method |
| public GetOption.Builder setCallback(GetCallback callback) |
| Sets a callback executed when key subscription events occur. |
Parameters
| Parameter name | Parameter desc |
| callback | Subscription callback. |
| Method |
| public GetOption.Builder setPicker(MessagePicker picker) |
| Sets the rule for filtering messages to be received. If the rule is not specified, INCLUDE_ALL_TYPES is used. |
Parameters
| Parameter name | Parameter desc |
| picker | Rule for filtering received messages. |
| Method |
| public GetOption.Builder setPolicy(Policy policy) |
| Sets the policy for subscribing to messages. The DEFAULT policy is used by default. |
Parameters
| Parameter name | Parameter desc |
| policy | Subscription policy. |