setItemGroup method

void setItemGroup(
  1. String? groupName
)

Setter method that sets the "Item Group" to be subscribed to through Lightstreamer Server.

Any call to this method will override any "Item List" or "Item Group" previously specified.

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

Throws IllegalStateException if the Subscription is currently "active".

  • groupName A String to be expanded into an item list by the Metadata Adapter.

Implementation

external void setItemGroup(String? groupName);