支持识别反色码(#66,#69,#72)
This commit is contained in:
@@ -25,9 +25,12 @@ import com.king.zxing.camera.CameraManager;
|
||||
|
||||
import androidx.annotation.LayoutRes;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
|
||||
public class CaptureActivity extends Activity implements OnCaptureCallback{
|
||||
/**
|
||||
* @author <a href="mailto:jenly1314@gmail.com">Jenly</a>
|
||||
*/
|
||||
public class CaptureActivity extends AppCompatActivity implements OnCaptureCallback{
|
||||
|
||||
public static final String KEY_RESULT = Intents.Scan.RESULT;
|
||||
|
||||
@@ -114,9 +117,10 @@ public class CaptureActivity extends Activity implements OnCaptureCallback{
|
||||
}
|
||||
|
||||
/**
|
||||
* Get {@link CameraManager}
|
||||
* Get {@link CameraManager} use {@link #getCaptureHelper()#getCameraManager()}
|
||||
* @return {@link #mCaptureHelper#getCameraManager()}
|
||||
*/
|
||||
@Deprecated
|
||||
public CameraManager getCameraManager(){
|
||||
return mCaptureHelper.getCameraManager();
|
||||
}
|
||||
@@ -154,4 +158,4 @@ public class CaptureActivity extends Activity implements OnCaptureCallback{
|
||||
public boolean onResultCallback(String result) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user