C# Class ReactiveUI.UsbManagerExtensions

Afficher le fichier Open project: reactiveui/ReactiveUI

Méthodes publiques

Méthode Description
PermissionRequested ( this manager, Android.Content.Context context, Android.Hardware.Usb.UsbAccessory accessory ) : IObservable

Requests temporary permission for the given package to access the accessory. This may result in a system dialog being displayed to the user if permission had not already been granted.

PermissionRequested ( this manager, Android.Content.Context context, Android.Hardware.Usb.UsbDevice device ) : IObservable

Requests temporary permission for the given package to access the device. This may result in a system dialog being displayed to the user if permission had not already been granted.

Method Details

PermissionRequested() public static méthode

Requests temporary permission for the given package to access the accessory. This may result in a system dialog being displayed to the user if permission had not already been granted.
public static PermissionRequested ( this manager, Android.Content.Context context, Android.Hardware.Usb.UsbAccessory accessory ) : IObservable
manager this The UsbManager system service.
context Android.Content.Context The Context to request the permission from.
accessory Android.Hardware.Usb.UsbAccessory The UsbAccessory to request permission for.
Résultat IObservable

PermissionRequested() public static méthode

Requests temporary permission for the given package to access the device. This may result in a system dialog being displayed to the user if permission had not already been granted.
public static PermissionRequested ( this manager, Android.Content.Context context, Android.Hardware.Usb.UsbDevice device ) : IObservable
manager this The UsbManager system service.
context Android.Content.Context The Context to request the permission from.
device Android.Hardware.Usb.UsbDevice The UsbDevice to request permission for.
Résultat IObservable