๐ Logistics & Long-Haul Fleets
Prevent highway hypnosis, track driver adherence to highway corridors, and reduce speeding violations across thousands of commercial vehicle routes.
๐ต Last-Mile Delivery Apps
Protect two-wheeler and e-bike couriers with real-time audio and haptic speed alerts without interrupting navigation turn-by-turn prompts.
๐จโ๐ฉโ๐ง Family Safety & Parental Monitors
Battery-friendly background monitoring for teen drivers. Immediate foreground notification alerts when customized speed ceilings are broken.
๐ Usage-Based Insurance (UBI)
Collect high-confidence, noise-filtered speed streams to generate accurate driver risk scores and actuarial safety profiles.
## ๐ Quick Integration in 3 Steps
::: code-group
```kotlin [1. Add Repository (settings.gradle.kts)]
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
// Authenticate with GitHub Packages
maven {
name = "VegSahayyakSDK"
url = uri("https://maven.pkg.github.com/VegSahayyak/veg-sahayyak-sdk")
credentials {
username = "YOUR_GITHUB_USERNAME"
password = "YOUR_READ_ONLY_PAT"
}
}
}
}
```
```kotlin [2. Add Dependencies (app/build.gradle.kts)]
dependencies {
// 1. Bill of Materials for version alignment
implementation(platform("com.vegsahayyak:speed-bom:2.2.0"))
// 2. Headless tracking & alarm logic
implementation("com.vegsahayyak:speed-core")
// 3. Optional Jetpack Compose Speedometer & HUD UI
implementation("com.vegsahayyak:speed-ui")
// 4. Optional PiP floating overlay & Activity Recognition plugins
implementation("com.vegsahayyak:speed-overlay")
implementation("com.vegsahayyak:speed-autostart")
}
```
```kotlin [3. Initialize & Start (MainActivity.kt)]
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
// 1. Configure and launch headless tracking
val assistant = SpeedAssistant.with(this, "YOUR_JWT_LICENSE")
.setWarningSpeedThreshold(80f) // Alert threshold in km/h
.setMinWarningSpeedThreshold(40f) // Minimum corridor threshold
assistant.start()
// 2. Render Jetpack Compose UI
setContent {
val speedState by SpeedAssistant.observeFlow().collectAsState(initial = SpeedData.SpeedUnavailable)
val currentSpeedKmh = (speedState as? SpeedData.SpeedChanged)?.let { it.speedMps * 3.6f } ?: 0f
val isOverLimit = (speedState as? SpeedData.SpeedChanged)?.isOverLimit ?: false
SpeedGauge(
speed = currentSpeedKmh,
warningSpeed = 80f,
isTrackingActive = true,
isOverLimit = isOverLimit,
unitLabel = "km/h"
)
}
}
}
```
:::
## ๐ผ Commercial Enterprise Licensing
The Veg Sahayyak SDK is engineered for mission-critical B2B applicationsโfrom OEM in-dash displays and advanced fleet management to Usage-Based Insurance (UBI) platforms and beyond.
It operates exclusively under a **Commercial Enterprise License**. We provide flexible, scalable pricing models designed to grow with your business, whether you prefer per-vehicle billing or flat-volume enterprise licensing.