checkNotificationPermission

fun checkNotificationPermission(context: Context, onLaunch: (missingPermission: String) -> Unit = {}): Boolean(source)

Executes the checkNotificationPermission step in the SDAI presentation layer.

Return

Result produced by checkNotificationPermission.

Author

Dmitriy Moroz

Parameters

context

Android context used by the operation.

onLaunch

callback invoked by the component.