setItemGroup method
- 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 MpnSubscription instance is in its "inactive" state.
Notification A change to this setting will be notified through a call to MpnSubscriptionListener.onPropertyChanged
with argument group
on any MpnSubscriptionListener listening to the related MpnSubscription.
groupName
A String to be expanded into an item list by the Metadata Adapter.
Throws IllegalStateException if the MpnSubscription is currently "active".
Implementation
void setItemGroup(String? groupName) {
_group = groupName;
}