tree: 8bf23a36686b605da7a348dda92921235627f85e [path history] [tgz]
  1. meta/
  2. BUILD.gn
  3. main.cc
  4. README.md
  5. screen_capture_helper.cc
  6. screen_capture_helper.h
  7. view_provider.cc
  8. view_provider.h
src/ui/examples/screen_recording/README.md

Screen Recording Example

To run the example:

fx set terminal.x64 --with-base //sdk/bundles:tools --with //src/ui/examples/screen_recording
fx build
// Start the emulator and log in
ffx emu start
ffx session add fuchsia-pkg://fuchsia.com/screen_recording#meta/screen_recording.cm

In this example, you should see a bouncing square on the left side and a screen recording of this on the right.