consts

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2026 License: CC0-1.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Creator                    int = 0
	UsbClassAppSpec            int = 254
	UsbClassAudio              int = 1
	UsbClassCdcData            int = 10
	UsbClassComm               int = 2
	UsbClassContentSec         int = 13
	UsbClassCscid              int = 11
	UsbClassHid                int = 3
	UsbClassHub                int = 9
	UsbClassMassStorage        int = 8
	UsbClassMisc               int = 239
	UsbClassPerInterface       int = 0
	UsbClassPhysica            int = 5
	UsbClassPrinter            int = 7
	UsbClassStillImage         int = 6
	UsbClassVendorSpec         int = 255
	UsbClassVideo              int = 14
	UsbClassWirelessController int = 224
	UsbDirIn                   int = 128
	UsbDirOut                  int = 0
	UsbEndpointDirMask         int = 128
	UsbEndpointNumberMask      int = 15
	UsbEndpointXfertypeMask    int = 3
	UsbEndpointXferBulk        int = 2
	UsbEndpointXferControl     int = 0
	UsbEndpointXferInt         int = 3
	UsbEndpointXferIsoc        int = 1
	UsbInterfaceSubclassBoot   int = 1
	UsbSubclassVendorSpec      int = 255
	UsbTypeClass               int = 32
	UsbTypeMask                int = 96
	UsbTypeReserved            int = 96
	UsbTypeStandard            int = 0
	UsbTypeVendor              int = 64
)
View Source
const (
	ActionUsbAccessoryAttached string = "android.hardware.usb.action.USB_ACCESSORY_ATTACHED"
	ActionUsbAccessoryDetached string = "android.hardware.usb.action.USB_ACCESSORY_DETACHED"
	ActionUsbDeviceAttached    string = "android.hardware.usb.action.USB_DEVICE_ATTACHED"
	ActionUsbDeviceDetached    string = "android.hardware.usb.action.USB_DEVICE_DETACHED"
	ExtraAccessory             string = "accessory"
	ExtraDevice                string = "device"
	ExtraPermissionGranted     string = "permission"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL