How can i use burst camera mode of new android pho

2019-05-03 01:58发布

问题:

It seems a lot of new android phones have this burst mode feature for their camera and they use it in their native camera apps. I was wondering if there is an api that they use in their apps or maybe they are just taking photos in a loop, i couldn't be sure, so can anyone care to explain?

回答1:

There's no official API for it, but before you go ahead and start looping .takePicture(), you should probably be calling it again on a picture callback to avoid taking up the entire CPU if there's a delay in taking a picture for any reason :)