getKeyPosition method
Returns the position of the "key" 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.
Throws IllegalStateException if the Subscription mode is not COMMAND or if the SubscriptionListener.onSubscription event for this Subscription was not yet fired.
Returns the 1-based position of the "key" field within the "Field Schema".
Implementation
int? getKeyPosition() {
return _keyPosition;
}