setSession

fun setSession(accessToken: String, userUid: String, companyUid: String, region: String, baseUrl: String, offlineEngineLogLevel: OfflineEngineLogLevel)

Set the user session information. This information will be used for all subsequent API calls.

Parameters

accessToken

The access token for API authentication

userUid

The unique identifier of the user

companyUid

The unique identifier of the company

region

The region code

baseUrl

The base URL for API calls and OfflineEngine operations

offlineEngineLogLevel

The log level to apply to OfflineEngine