0

I am using ddmlib of Android and there is this method (1). By that I can, obviously, start to record some video.

The question is, how do I stop the video from recording? There is not equivalent stop method.

Thanks!

(1) http://javadox.com/com.android.tools.ddms/ddmlib/23.0.1/com/android/ddmlib/IDevice.html#startScreenRecorder(java.lang.String,com.android.ddmlib.ScreenRecorderOptions,com.android.ddmlib.IShellOutputReceiver)

stewenson
  • 1,282
  • 3
  • 15
  • 34

1 Answers1

1

I know I can stop it by IShellOutputReceiver. When I want to stop it, its "isCancelled()" method has to return true.

stewenson
  • 1,282
  • 3
  • 15
  • 34