Protected Member Functions | Static Package Attributes | Private Member Functions | Private Attributes | Static Private Attributes Class Reference
Inheritance diagram for
Inheritance graph

List of all members.

Protected Member Functions

 AcmDeviceActivity (String notificationTicker, String notificationTitle)
Collection< UsbDevice > getUsbDevices (int vendorId, int productId)
void onCreate (Bundle savedInstanceState)
void onDestroy ()
void onNewIntent (Intent intent)
void requestPermission (UsbDevice usbDevice)

Static Package Attributes

static final String ACTION_USB_PERMISSION = ""

Private Member Functions

void closeAcmDevices ()
void newAcmDevice (UsbDevice usbDevice)
void onUsbDeviceAttached (Intent intent)

Private Attributes

final Map< String, AcmDeviceacmDevices
BroadcastReceiver usbDeviceDetachedReceiver
BroadcastReceiver usbDevicePermissionReceiver
UsbManager usbManager
PendingIntent usbPermissionIntent

Static Private Attributes

static final boolean DEBUG = true
static final Log log = LogFactory.getLog(AcmDeviceActivity.class)

Detailed Description

Author: (Damon Kohler)

Definition at line 44 of file

Constructor & Destructor Documentation ( String  notificationTicker,
String  notificationTitle 
) [inline, protected]

Definition at line 58 of file

Member Function Documentation

Definition at line 159 of file

Collection<UsbDevice> ( int  vendorId,
int  productId 
) [inline, protected]

Definition at line 136 of file

void ( UsbDevice  usbDevice) [inline, private]

Creates a new AcmDevice for the newly connected

Definition at line 83 of file

void ( Bundle  savedInstanceState) [inline, protected]

Definition at line 108 of file

Reimplemented from

Definition at line 172 of file

void ( Intent  intent) [inline, protected]

Definition at line 119 of file

Definition at line 124 of file

void ( UsbDevice  usbDevice) [inline, protected]

Request permission from the user to access the supplied UsbDevice.

usbDevicethe UsbDevice that provides ACM serial
callbackwill be called once the user has granted or denied permission

Definition at line 155 of file

Member Data Documentation

Definition at line 51 of file

final String = "" [static, package]

Definition at line 49 of file

final boolean = true [static, private]

Definition at line 46 of file

final Log = LogFactory.getLog(AcmDeviceActivity.class) [static, private]

Definition at line 47 of file

Definition at line 56 of file

Definition at line 55 of file

Definition at line 53 of file

Definition at line 54 of file

The documentation for this class was generated from the following file:

Author(s): Damon Kohler
autogenerated on Thu Jun 6 2019 21:20:07