I’m using startRecordingScreen()
to record devices and I want to record more than 3 minutes.
I know that adb shell screenrecord
time limit is 180, max.
However, we probably can work around this, by recording one video and after that one ends, start to record again, and again… until we no longer have the need to record.
The thing is: we don’t really know when the device has stopped recording, unless we use a thread, perhaps, to count the seconds that have past since the beginning of our recording.
So it would be great to have some kind of listener to which we could subscribe to know when the recording was stopped, so we could start it again, if we wanted.
Am I making any sense and/or is this even possible?
Note: Subscriber ideia was @tfcardoso 's
Thanks