Emrtd Connector
constructor(clientId: String, webSocketUrl: String, closedListener: ClosedListener, statusListener: StatusListener, emrtdPassportListener: EmrtdPassportListener)
Parameters
client Id
Client Id
web Socket Url
Url of the WebSocket endpoint
closed Listener
will be called when the WebSocket connection is closed.
status Listener
will be called every time the Server provides anupdate about the current status.Can be null if user of EmrtdConnector is not interestedin status updates.
emrtd Passport Listener
will be called when the Server returns the result.Can be null if the user of EmrtdConnector is not interestedin the Result.
Throws
If the WebSocketUrl is an invalid string.