SdkConfig

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

String getAppId()

Returns the Sentiance app credential ID.

getBaseURL()

String getBaseURL()

Returns the Sentiance API URL.

getMetaUserLinker()

MetaUserLinker getMetaUserLinker()

Returns the MetaUserLinker used during MetaUser linking.

getMetaUserLinkerAsync()

MetaUserLinkerAsync getMetaUserLinkerAsync()

Returns the MetaUserLinkerAsync used during MetaUser linking.

getNotification()

Notification getNotification()

Returns a Notification used by the SDK when starting a foreground service.

getNotificationId()

int getNotificationId()

Returns the notification ID used by the SDK when starting a foreground service.

getOnSdkStatusUpdateHandler()

OnSdkStatusUpdateHandler getOnSdkStatusUpdateHandler()

Returns the SdkStatusUpdateHandler set to receive SDK status updates.

getSecret()

String getSecret()

Returns the Sentiance app credential secret.

isTriggeredTripsEnabled()

boolean isTriggeredTripsEnabled()

Returns whether triggered trips is enabled or not.

Learn more about triggered trip here.

Last updated