Package-level declarations

Types

Link copied to clipboard
class AndroidKmpWorker(context: Context, eventStore: EventStore? = null, chainRepo: ChainRepository? = null, telemetry: TelemetryCollector? = null, val foregroundConfig: ForegroundConfig? = null) : KmpWorker

Android concrete implementation of KmpWorker.

Link copied to clipboard

Android implementation of TaskScheduler backed by WorkManager.

Link copied to clipboard
data class ForegroundConfig(val notificationTitle: String, val notificationChannelId: String = "kmpworker_foreground", val notificationChannelName: String = "Background Tasks", val notificationId: Int = 42, val notificationIcon: Int = 0)

Configuration for running a task as a foreground service on Android.

Link copied to clipboard

WorkManager CoroutineWorker that bridges the Android scheduling system into the KMPWorker execution model.

Link copied to clipboard

Convenience Android logger that bridges KmpWorkerLogger to android.util.Log.

Link copied to clipboard

Jetpack App Startup initializer for KMPWorker.