public void RequestUSBPermission(IDiscoveredPrinterUsb printer)
 {
     if (!printer.HasPermissionToCommunicate)
     {
         printer.RequestPermission(context);
     }
 }
示例#2
0
 public void RequestUSBPermission(IDiscoveredPrinterUsb printer)
 {
     //if (!printer.HasPermissionToCommunicate)
     //{
     //    printer.RequestPermission(Android.App.Application.Context);
     //}
 }
 public void RequestUSBPermission(IDiscoveredPrinterUsb printer)
 {
     if (!printer.HasPermissionToCommunicate)
     {
         Android.Content.Context context = Android.App.Application.Context;                 //Xamarin.Forms.Forms.Context;
         printer.RequestPermission(context);
     }
 }
 public void RequestUsbPermission(IDiscoveredPrinterUsb printer)
 {
     throw new NotImplementedException();
 }
 public void RequestUSBPermission(IDiscoveredPrinterUsb printer)
 {
 }