getValueByPosition method
- int fieldPosition
Returns the current value for the specified field.
fieldPosition
The 1-based position of the field within the "Field List" or "Field Schema".
Throws IllegalArgumentException if the specified field is not part of the Subscription.
Returns The value of the specified field; it can be null in the following cases:
- a null value has been received from the Server, as null is a possible value for a field;
- no value has been received for the field yet;
- the item is subscribed to with the COMMAND mode and a DELETE command is received (only the fields used to carry key and command information are valued).
Implementation
String? getValueByPosition(int fieldPosition) {
return _fieldsByPosition[fieldPosition];
}