intent

fun intent(context: Context, vararg requestedPermissions: String): Intent

Creates the Intent to a PermissionsActivity

Parameters

context

the Context of the Intent

requestedPermissions

the list of permissions to request. Should correspond to android.Manifest.permission.