mirror of
https://github.com/inthehand/32feet.git
synced 2026-10-28 05:57:05 +08:00
23 lines
554 B
C#
23 lines
554 B
C#
using Android.Content;
|
|
using Android.Hardware.Usb;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using static Microsoft.Maui.ApplicationModel.Permissions;
|
|
|
|
namespace InTheHand.Permissions
|
|
{
|
|
public partial class UsbPermission : BasePlatformPermission
|
|
{
|
|
private static readonly UsbManager _manager;
|
|
|
|
static UsbPermission()
|
|
{
|
|
_manager = Android.App.Application.Context.GetSystemService(Context.UsbService) as UsbManager;
|
|
}
|
|
|
|
}
|
|
}
|