getCommandPosition method
Returns the position of the "command" field in a COMMAND Subscription.
This method can only be used if the Subscription mode is COMMAND and the Subscription was initialized using a "Field Schema".
Lifecycle This method can be called at any time after the first SubscriptionListener.onSubscription event.
Throws IllegalStateException if the Subscription mode is not COMMAND or if the SubscriptionListener.onSubscription event for this Subscription was not yet fired.
Throws IllegalStateException if a "Field List" was specified.
Returns the 1-based position of the "command" field within the "Field Schema".
Implementation
external int getCommandPosition();