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 MpnSubscription instance is in its "inactive" state.

Notification A change to this setting will be notified through a call to MpnSubscriptionListener.onPropertyChanged with argument schema on any MpnSubscriptionListener listening to the related MpnSubscription.

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

Throws IllegalStateException if the MpnSubscription is currently "active".

Implementation

external void setFieldSchema(String? schemaName);