Search…
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()

1
String getAppId()
Copied!
Returns the Sentiance app credential ID.

getBaseURL()

1
String getBaseURL()
Copied!
Returns the Sentiance API URL.

getMetaUserLinker()

1
MetaUserLinker getMetaUserLinker()
Copied!
Returns the MetaUserLinker used during MetaUser linking.

getMetaUserLinkerAsync()

1
MetaUserLinkerAsync getMetaUserLinkerAsync()
Copied!
Returns the MetaUserLinkerAsync used during MetaUser linking.

getNotification()

1
Notification getNotification()
Copied!
Returns a Notification used by the SDK when starting a foreground service.

getNotificationId()

1
int getNotificationId()
Copied!
Returns the notification ID used by the SDK when starting a foreground service.

getOnSdkStatusUpdateHandler()

1
OnSdkStatusUpdateHandler getOnSdkStatusUpdateHandler()
Copied!
Returns the SdkStatusUpdateHandler set to receive SDK status updates.

getSecret()

1
String getSecret()
Copied!
Returns the Sentiance app credential secret.

isTriggeredTripsEnabled()

1
boolean isTriggeredTripsEnabled()
Copied!
Returns whether triggered trips is enabled or not.
Learn more about triggered trip here.