Code example for UsbAccessory

Methods: getManufacturergetModel

0
            mDisplaySourceService = null;
        } 
    } 
 
    private static boolean isSink(UsbAccessory accessory) {
        return MANUFACTURER.equals(accessory.getManufacturer())
                && MODEL.equals(accessory.getModel());
    } 
 
    class TextLogger extends Logger {
        @Override 
        public void log(final String message) {
            Log.d(TAG, message);
 
            mLogTextView.post(new Runnable() {
                @Override 
                public void run() { 
                    mLogTextView.append(message);
                    mLogTextView.append("\n");
                } 
Connect your IDE to all the code out there  Get Codota for Java