Gets the line number of the current text input position.

<void> InputPosition.getLine(<RequestNumberCallback> callback, [<ErrorCallback> errorCallback])

Parameters

Parameter Description
callback Receives the line number of the current text input position.
errorCallback Optional. Is called when the operation failed with an error.