missingPermissions

fun missingPermissions(permissions: List<String> = requiredPermissions()): Array<String>

Calculate the list of missing permissions.

The returned value can be passed directly to ActivityCompat.requestPermissions().