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 apiKeystring the api token to access the Quickmark service
-
setCallbacks(messageCallback, errorCallback, validationCallback)
-
Set the exposed Quickmark callbacks
Name Type Default Description messageCallbackcallback null fired on Quickmark message
errorCallbackcallback null fired on Quickmark error
validationCallbackcallback null fired on to calculate signature for a blob
-
setErrorCallback(errorCallback)
-
Set the Quickmark error callback
Name Type Description errorCallbackcallback fired on Quickmark error
-
setFingerprintToken(token)
-
Allows the application to set the fingerprint token
Name Type Description tokenstring -
setMessageCallback(messageCallback)
-
Set the Quickmark message callback
Name Type Description messageCallbackcallback fired on Quickmark message
-
setTenant(tenant)
-
Set the tenant ID
Name Type Description tenantstring the tenant ID
-
setTlValidationCallback(validationCallback)
-
Set the Quickmark validation callback
Name Type Description validationCallbackcallback fired on to calculate signature for a blob
-
setToken(token)
-
Set the token that is embedded into the Quickmark surface
Name Type Description tokenstring the token to embed into the Quickmark surface
-
setURL(url)
-
Set the Quickmark service URL
Name Type Description urlstring the Quickmark service URL
-
start()
-
Starts the Quickmark service
-
stop()
-
Stops the Quickmark service