Policy Profile
data class PolicyProfile(val name: String, val syncPolicy: SyncPolicy? = null, val telemetryPolicy: TelemetryPolicy? = null, val diagnosticsSchedulePolicy: DiagnosticsSchedulePolicy? = null, val description: String? = null)
Named policy configuration profile.
Allows switching between pre-defined configurations based on geofence location. Only non-null policy fields are applied; null fields retain base config values.
Example profiles:
"store-floor": High sync frequency, extended diagnostics
"warehouse": Reduced sync, battery optimization
"transit": Minimal sync, offline-first
"secure-zone": Enhanced telemetry, frequent heartbeats
Since
0.4.0
Constructors
Link copied to clipboard
constructor(name: String, syncPolicy: SyncPolicy? = null, telemetryPolicy: TelemetryPolicy? = null, diagnosticsSchedulePolicy: DiagnosticsSchedulePolicy? = null, description: String? = null)