Interface
Description
Parameters for SDK initialization
• serverPath: string
Base path for sending API requests. This would be the base URL of the orchestration server.
• Optional resource: string
An optional resource URI, if defined in the application settings in the admin portal
• Optional logLevel: LogLevel
The log level for the SDK. Default is LogLevel.Info
Default
LogLevel.Info
See
• Optional pollingTimeout: number
The timeout for polling requests to the server for the wait for another device action in seconds.
Default
3
See
• Optional locale: string
The expected locale format is the standard language tags as defined by the localization RFC 5646 (https://datatracker.ietf.org/doc/html/rfc5646).
• Optional collectRiskData: boolean
When true, the SDK will collect queued device events and send them back to the server. This flag is mandatory for collecting data for the Risk Level Analysis step.
Default
false