setPermissionDelegate

Sets a delegate to handle permissions.

Parameters

permission

The permission.

delegate

The delegate.