mtsahakis / MediaProjectionDemo

One Activity sample app of using Android Lollipop MediaProjection API to capture device screenshots
Other
211 stars 76 forks source link

How to delay the screencapture method? #24

Closed sankar2389 closed 3 years ago

sankar2389 commented 3 years ago

Now it takes many screenshots once start recording button is pressed. But I want to take screenshots for every 30 seconds. Can you please guide me?

sankar2389 commented 3 years ago

I just added handler in onImageAvailable override to achieve this