EmrtdConnector

constructor(clientId: String, webSocketUrl: String, closedListener: ClosedListener, statusListener: StatusListener, emrtdPassportListener: EmrtdPassportListener)

Parameters

clientId

Client Id

webSocketUrl

Url of the WebSocket endpoint

closedListener

will be called when the WebSocket connection is closed.

statusListener

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.

emrtdPassportListener

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.