-
Notifications
You must be signed in to change notification settings - Fork 489
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jenly1314
committed
Dec 27, 2019
1 parent
0a136a6
commit 42a5cc9
Showing
5 changed files
with
80 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,9 +25,12 @@ | |
|
||
import androidx.annotation.LayoutRes; | ||
import androidx.annotation.Nullable; | ||
import androidx.appcompat.app.AppCompatActivity; | ||
|
||
|
||
public class CaptureActivity extends Activity implements OnCaptureCallback{ | ||
/** | ||
* @author <a href="mailto:[email protected]">Jenly</a> | ||
*/ | ||
public class CaptureActivity extends AppCompatActivity implements OnCaptureCallback{ | ||
|
||
public static final String KEY_RESULT = Intents.Scan.RESULT; | ||
|
||
|
@@ -114,9 +117,10 @@ public CaptureHelper getCaptureHelper(){ | |
} | ||
|
||
/** | ||
* 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 boolean onTouchEvent(MotionEvent event) { | |
public boolean onResultCallback(String result) { | ||
return false; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters