Appearance
Sharing Anonymized Analytics
As an application developer, you have the option to share anonymized SDK usage data with us. This data helps us improve the overall performance and functionality of the SDK for all users.
What Data is Collected?
We collect anonymized data about how the user interacts with the SDK. This excludes any personally identifiable information (PII) or personal health results (PHI) generated by the SDK. Sharing is Optional, disabled by default, and Controlled by You! You have complete control over whether to share this anonymized usage data with us. This is an opt-in process, meaning you must explicitly choose to share this data. We will only collect data from customers who have actively opted-in through a dedicated and secure API.
Data Security and Anonymity
We take data security and privacy very seriously. We have implemented robust measures to ensure that all collected data is anonymized and cannot be linked back to any individual user or device.
Integration
Add this line to your app's build.gradle file:
dependencies {
...
implementation 'com.segment.analytics.kotlin:android:1.16.3'
}API
Kotlin
try {
val licenseDetails = LicenseDetails("<ENTER_YOUR_LICENSE_KEY>")
val session = FaceSessionBuilder(applicationContext)
.withDeviceOrientation(DeviceOrientation.LANDSCAPE_LEFT)
.withImageListener(this)
.withVitalSignsListener(this)
.withSessionInfoListener(this)
.withAnalytics()
.build(licenseDetails)
} catch (e: HealthMonitorException) {
Log.i("ERROR", "Received Error. Domain: ${e.domain} Code: ${e.errorCode}")
}Java
try {
LicenseDetails licenseDetails = new LicenseDetails("<ENTER_YOUR_LICENSE_KEY>");
Session session = new FaceSessionBuilder(getApplicationContext())
.withDeviceOrientation(DeviceOrientation.LANDSCAPE_LEFT)
.withImageListener(this)
.withVitalSignsListener(this)
.withSessionInfoListener(this)
.withAnalytics()
.build(licenseDetails);
} catch (HealthMonitorException e) {
Log.i("ERROR", "Received Error. Domain: "+ e.getDomain() +" Code: "+ e.getErrorCode());
}