ForegroundConfig

constructor(notificationTitle: String, notificationChannelId: String = "kmpworker_foreground", notificationChannelName: String = "Background Tasks", notificationId: Int = 42, notificationIcon: Int = 0)

Parameters

notificationTitle

Title shown in the foreground notification.

notificationChannelId

Android notification channel ID (required for API 26+).

notificationChannelName

Human-readable channel name.

notificationId

Unique ID for the notification.

notificationIcon

Resource ID for the small icon. Defaults to the app icon.