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()String getAppId()Returns the Sentiance app credential ID.
getBaseURL()
getBaseURL()String getBaseURL()Returns the Sentiance API URL.
getMetaUserLinker()
getMetaUserLinker()This method was replaced by getUserLinker() in v6.0.0.
MetaUserLinker getMetaUserLinker()Returns the
MetaUserLinkerused during MetaUser linking.
getMetaUserLinkerAsync()
getMetaUserLinkerAsync()This method was replaced by getUserLinkerAsync() in v6.0.0.
MetaUserLinkerAsync getMetaUserLinkerAsync()Returns the
MetaUserLinkerAsyncused during MetaUser linking.
getNotification()
getNotification()Notification getNotification()Returns a
Notificationused by the SDK when starting a foreground service.
getNotificationId()
getNotificationId()int getNotificationId()Returns the notification ID used by the SDK when starting a foreground service.
getOnSdkStatusUpdateHandler()
getOnSdkStatusUpdateHandler()OnSdkStatusUpdateHandler getOnSdkStatusUpdateHandler()Returns the
SdkStatusUpdateHandlerset to receive SDK status updates.
getSecret()
getSecret()String getSecret()Returns the Sentiance app credential secret.
isTriggeredTripsEnabled()
isTriggeredTripsEnabled()boolean isTriggeredTripsEnabled()Returns whether triggered trips is enabled or not.
Learn more about triggered trip here.
getUserLinker()
getUserLinker()UserLinker getUserLinker()Returns the
UserLinkerused during user linking.
getUserLinkerAsync()
getUserLinkerAsync()UserLinkerAsync getUserLinkerAsync()Returns the
UserLinkerAsyncused during user linking.
Last updated