getCommandSecondLevelFieldSchema method

String? getCommandSecondLevelFieldSchema()

Inquiry method that can be used to read the "Field Schema" 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 Schema".

Throws IllegalStateException if the Subscription mode is not COMMAND

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

Implementation

String? getCommandSecondLevelFieldSchema() {
  return _schema2;
}