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.String getAppId()Returns the Sentiance app credential ID.
String getBaseURL()Returns the Sentiance API URL.
This method was replaced by getUserLinker() in v6.0.0.
MetaUserLinker getMetaUserLinker()
This method was replaced by getUserLinkerAsync() in v6.0.0.
MetaUserLinkerAsync getMetaUserLinkerAsync()
Notification getNotification()
int getNotificationId()Returns the notification ID used by the SDK when starting a foreground service.
OnSdkStatusUpdateHandler getOnSdkStatusUpdateHandler()
String getSecret()Returns the Sentiance app credential secret.
boolean isTriggeredTripsEnabled()Returns whether triggered trips is enabled or not.
UserLinker getUserLinker()
UserLinkerAsync getUserLinkerAsync()
Last modified 10mo ago