new QuickmarkInterface()
Methods
-
getVersion()
-
Get the Quickmark library version
Returns:
The Quickmark version string -
setApiKey(apiKey)
-
Set the apiKey token to access to Quickmark server service
Name Type Description apiKey
string the api token to access the Quickmark service
-
setCallbacks(messageCallback, errorCallback, validationCallback)
-
Set the exposed Quickmark callbacks
Name Type Default Description messageCallback
callback null fired on Quickmark message
errorCallback
callback null fired on Quickmark error
validationCallback
callback null fired on to calculate signature for a blob
-
setErrorCallback(errorCallback)
-
Set the Quickmark error callback
Name Type Description errorCallback
callback fired on Quickmark error
-
setFingerprintToken(token)
-
Allows the application to set the fingerprint token
Name Type Description token
string -
setMessageCallback(messageCallback)
-
Set the Quickmark message callback
Name Type Description messageCallback
callback fired on Quickmark message
-
setTenant(tenant)
-
Set the tenant ID
Name Type Description tenant
string the tenant ID
-
setTlValidationCallback(validationCallback)
-
Set the Quickmark validation callback
Name Type Description validationCallback
callback fired on to calculate signature for a blob
-
setToken(token)
-
Set the token that is embedded into the Quickmark surface
Name Type Description token
string the token to embed into the Quickmark surface
-
setURL(url)
-
Set the Quickmark service URL
Name Type Description url
string the Quickmark service URL
-
start()
-
Starts the Quickmark service
-
stop()
-
Stops the Quickmark service