|
@ -105,7 +105,9 @@ public class USBCameraManager{ |
|
|
startPreview(cameraView, new AbstractUVCCameraHandler.OnPreViewResultListener() { |
|
|
startPreview(cameraView, new AbstractUVCCameraHandler.OnPreViewResultListener() { |
|
|
@Override |
|
|
@Override |
|
|
public void onPreviewResult(boolean isConnected) { |
|
|
public void onPreviewResult(boolean isConnected) { |
|
|
|
|
|
if(listener != null){ |
|
|
|
|
|
listener.onConnectDev(device,isConnected); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|