Permission Handler
Reports the outcome of VideoSDK.checkPermissions. Each request ends in exactly one of onGranted, onDenied or onJustBlocked, unless onBlocked returns true — then that call is the last.
onGranted runs on the calling thread, before checkPermissions returns, when every permission was already held; otherwise every callback runs on the main thread once the user has answered.
Functions
Link copied to clipboard
Refused this time, with the system dialog still available: prompt again later with an explanation rather than sending the user to Settings.
Link copied to clipboard
open fun onJustBlocked(context: Context, justBlockedList: ArrayList<Permission>, deniedPermissions: ArrayList<Permission>)
The user ticked "don't ask again" during this request. The default implementation forwards to onDenied; override it to explain that a settings visit is now required.