SdkConfig
The SdkConfig
class allows you to specify your Sentiance app ID and secret when initializing the Sentiance SDK. This class uses the builder pattern to provide additional options and allow setting various callbacks and handlers.
SdkConfig API
getAppId()
getAppId()
Returns the Sentiance app credential ID.
getBaseURL()
getBaseURL()
Returns the Sentiance API URL.
getMetaUserLinker()
getMetaUserLinker()
This method was replaced by getUserLinker() in v6.0.0.
Returns the
MetaUserLinker
used during MetaUser linking.
getMetaUserLinkerAsync()
getMetaUserLinkerAsync()
This method was replaced by getUserLinkerAsync() in v6.0.0.
Returns the
MetaUserLinkerAsync
used during MetaUser linking.
getNotification()
getNotification()
Returns a
Notification
used by the SDK when starting a foreground service.
getNotificationId()
getNotificationId()
Returns the notification ID used by the SDK when starting a foreground service.
getOnSdkStatusUpdateHandler()
getOnSdkStatusUpdateHandler()
Returns the
SdkStatusUpdateHandler
set to receive SDK status updates.
getSecret()
getSecret()
Returns the Sentiance app credential secret.
isTriggeredTripsEnabled()
isTriggeredTripsEnabled()
Returns whether triggered trips is enabled or not.
Learn more about triggered trip here.
getUserLinker()
getUserLinker()
Returns the
UserLinker
used during user linking.
getUserLinkerAsync()
getUserLinkerAsync()
Returns the
UserLinkerAsync
used during user linking.
Last updated