SENTConfig
This document refers to deprecated parts of the platform and has been left intact to help customers with legacy integrations. In order to access the latest platform features and documentation, please go to https://docs.sentiance.com.
The SENTConfig class allows you to specify your Sentiance app ID and secret when initializing the Sentiance SDK.
Enable Triggered Trips
Triggered trips enables controlled detections from your app. To run the SDK in triggered trips mode, use the following configuration option:
Learn more about triggered trips here.
Meta-User Linking
Sentiance assigns to each user a unique ID. You can link your app's user to the Sentiance user using meta-user linking. The linking step involves server-to-server communication, and is triggered by the SDK via a meta-user linking callback. You can implement this callback method as follows:
Learn more about meta-users here.
SENTConfig API:
baseURL
Set the platform base URL
appId
App ID created and managed by Sentiance's Developer Dashboard
secret
Secret token created along with App ID
launchOptions
Key value pair passed from [AppDelegate application:application didFinishLaunchingWithOptions:launchOptions]
didReceiveSdkStatusUpdate
Callback to receive current status of SDK. Returns SENTSDKStatus
link
MetaUserLinker linking handler your own user to a Sentiance user.
registerBackgroundTaskIdentifiers
Set to YES to allow the SDK to register its own background task identifiers during initialization. By default, this is set to NO. You should set it to YES only when initializing the SDK within your app delegate’s application:didFinishLaunchingWithOptions:launchOptions:
method, as registering tasks outside of this method can cause iOS to terminate your app.
isHardEventDetectionEnabled
Deprecated
This property was deprecated in v5.12.0, as part of the Trip Profiling feature deprecation.
A boolean value indicating whether hard event detection should be enabled.
initWithAppId: secret: launchOptions:
SDK configuration initialization method. Returned SENTConfig object is passed to [SENTSDK initWithConfig].
initWithAppId: secret: link: launchOptions:
SDK config intialization method with linking to customer's user id. It creates a continuous Sentiance profile across application installations and re-installations on different devices, linked together by their own user id.
isValidConfig
Check if App ID and Secret are valid
Last updated