set listener to receive event/packet from usb accessory . concode_field_sep OutputStream mOutputStream concode_elem_sep UsbManager mUsbManager concode_elem_sep UsbAccessory mAccessory concode_elem_sep boolean mReceiveThreadRunning concode_elem_sep boolean mOpening concode_elem_sep int MAX_BUF_SIZE concode_elem_sep boolean mIsPermissionRequestPending concode_elem_sep ParcelFileDescriptor mFileDescriptor concode_elem_sep String TAG concode_elem_sep Context mContext concode_elem_sep InputStream mInputStream concode_elem_sep BroadcastReceiver mUsbReceiver concode_elem_sep IAccessoryListener mListener concode_elem_sep String ACTION_USB_PERMISSION concode_field_sep void init concode_elem_sep void requestPermission concode_elem_sep void closeAccessory concode_elem_sep boolean prepareAccessory concode_elem_sep boolean isOpening concode_elem_sep void run concode_elem_sep void onReceive concode_elem_sep void close concode_elem_sep void write concode_elem_sep boolean open
void function ( IAccessoryListener arg0 ) { mListener = arg0 ; }