- permission
- The name of the permission being checked.
- message
- A message to include in the exception if it is thrown.
If neither you nor the calling process of an IPC you are handling has been granted a particular permission, throw a Java.Lang.SecurityException. This is the same as Android.Content.Context.EnforceCallingPermission(string, System.String), except it grants your own permissions if you are not currently processing an IPC. Use with care!