Persistent State

The SDK contains a licensing and activation part, which automatically run with the start of a detection session.

This information is persisted to keys under SharedPreferences with the file name StmSharedPreferences.

Key List

Do not depend on any persisted state's values or format, because it might become unavailable without warning after an SDK update. Likewise, modification of SDK persisted state leads to undefined behavior and is not supported. Apart from core/license internal persistent state, all information is available via IBcmFlowDelegate.

The SDK maintains the following keys (StmSettingsPreferences):

Key Description
licenseKey License Key handed over via the SDK API.
licenseToken Activation token after a successful SDK licensing request.

Resetting persisted state is unsupported and offered for implementing test use cases only. Do not offer a user-facing feature to clear persistent state, because it may negatively impact availability, and diagnostics.

results matching ""

    No results matching ""