getFieldSchema method

String? getFieldSchema()

Inquiry method that can be used to read the field schema specified for this MpnSubscription.

Note: if the MpnSubscription has been created by the client, such as when obtained through LightstreamerClient.getMpnSubscriptions, fields are always expressed with a "Field Schema"", even if originally the MPN subscription used a "Field List".

Lifecycle This method can only be called if the MpnSubscription has been initialized using a "Field Schema"

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

Implementation

String? getFieldSchema() {
  return _schema;
}