setSelector method

void setSelector(
  1. String? selector
)

Setter method that sets the selector name for all the items in the Subscription. The selector is a filter on the updates received.

It is executed on the Server and implemented by the Metadata Adapter.

Default null (no selector).

Lifecycle This method can only be called while the Subscription instance is in its "inactive" state.

Throws IllegalStateException if the Subscription is currently "active".

  • selector name of a selector, to be recognized by the Metadata Adapter, or null to unset the selector.

Implementation

external void setSelector(String? selector);