PrivilegedManager

Constructors

Link copied to clipboard
constructor(context: Context)

Types

Link copied to clipboard

Properties

Link copied to clipboard
val DEFAULT_CHANNEL_ID: String = "SDKForegroundServiceRepository"
Link copied to clipboard
val DEFAULT_CHANNEL_NAME: String = "App status"

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Notifies the privileged manager that the process has been settled after a restart.
Called when the process was restarted by Android and it decided to wake up (restart) some backing service.
Link copied to clipboard
open fun setNotification(notification: Notification)
Link copied to clipboard
Attempts to start the privileged context.
Link copied to clipboard
Attempts to stop the privileged context.
Link copied to clipboard
open fun stopAll()