C# 클래스 ReactiveUI.UsbManagerExtensions

파일 보기 프로젝트 열기: reactiveui/ReactiveUI

공개 메소드들

메소드 설명
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