1Builder(String appId, String secret, Notification notification)Copied!Creates a builder object used for initializing the Sentiance SDK.Please note: hard-coded credentials are not secure. Load your Sentiance credentials from a secure source such a remote server, and store them securely on the device.
1Builder baseURL(String url)Copied!Sets the Sentiance API URL.
1Builder setMetaUserLinker(MetaUserLinker linker)Copied!Sentiance assigns to each user a unique ID. You can link your app's user to the Sentiance user using meta-user linking. The linking step involves server-to-server communication, and is triggered by the SDK via this meta-user linking callback.
1Builder setNotificationId(int Id)Copied!The default notification ID used by the SDK when starting a service is 2123874432. If your app already shows a persistent notification when running, you can pass your existing notification ID and have a single notification show up in the panel.
1Builder setOnSdkStatusUpdateHandler(OnSdkStatusUpdateHandler handler)Copied!At runtime, the SDK will occasionally send status updates to your app. These are concerning the detection status and environment changes (e.g. location availability, device configuration changes, etc.). You can set a handler here to capture these updates.
trueto enable triggered trips.