Android Guides | Samples

Android.Hardware.Usb.UsbManager.ExtraPermissionGranted Field

Name of extra added to the PendingIntent passed into UsbManager.RequestPermission(UsbDevice,PendingIntent) or UsbManager.RequestPermission(UsbAccessory,PendingIntent) containing a boolean value indicating whether the user granted permission or not.

Syntax

[Android.Runtime.Register("EXTRA_PERMISSION_GRANTED")]
public const String ExtraPermissionGranted

Remarks

Name of extra added to the PendingIntent passed into UsbManager.RequestPermission(UsbDevice,PendingIntent) or UsbManager.RequestPermission(UsbAccessory,PendingIntent) containing a boolean value indicating whether the user granted permission or not.

[Android Documentation]

Requirements

Namespace: Android.Hardware.Usb
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 12