getCommandSecondLevelFields method

List<String>? getCommandSecondLevelFields()

Inquiry method that can be used to read the "Field List" specified for second-level Subscriptions.

Lifecycle This method can only be called if the second-level of this Subscription has been initialized using a "Field List"

Throws IllegalStateException if the Subscription mode is not COMMAND

Returns the list of fields to be subscribed to through the server, or null if the Subscription was initialized with a "Field Schema" or was not initialized at all.

  • See Subscription.setCommandSecondLevelFields

Implementation

List<String>? getCommandSecondLevelFields() {
  return _getCommandSecondLevelFields()?.cast<String>();
}