setFieldSchema method

void setFieldSchema(
  1. String? schemaName
)

Setter method that sets the "Field Schema" to be subscribed to through Lightstreamer Server.

Any call to this method will override any "Field List" or "Field Schema" 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".

  • schemaName A String to be expanded into a field list by the Metadata Adapter.

Implementation

void setFieldSchema(String? schemaName) {
  _schema = schemaName;
}