missingPermissions

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

Calculate the list of missing permissions.

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