Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

设备是否支持相机? #4

Open
BestKai opened this issue Aug 30, 2018 · 4 comments
Open

设备是否支持相机? #4

BestKai opened this issue Aug 30, 2018 · 4 comments

Comments

@BestKai
Copy link

BestKai commented Aug 30, 2018

image

这里的判断有问题吧?希望尽快完善下其他type

@MxABC
Copy link
Owner

MxABC commented Aug 30, 2018

其他类型应该都是有的吧

@BestKai
Copy link
Author

BestKai commented Aug 30, 2018

image
相机这里没有。另外上面的传的type,只判断了健康,其他的类型建议也对应的做判断吧!

@MxABC
Copy link
Owner

MxABC commented Aug 30, 2018

我的意思是,除健康以外,其他类型,如相机都是支持的,不需要判断的,只有健康是在那个设备之后才有的

@BestKai
Copy link
Author

BestKai commented Aug 30, 2018

嗯嗯,我懂你的意思了,只是我今天用模拟器,模拟器是不支持相机的,然后用上面的方法去判断设备是否支持相机,出现了问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants