C# Класс ReactiveUI.UsbManagerExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

PermissionRequested() публичный статический Метод

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.
Результат IObservable

PermissionRequested() публичный статический Метод

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.
Результат IObservable