[ Version ( since = "2.0.0" ) ]
public async bool emulation_save_async (string filename, Cancellable? cancellable) throws Error
Gets the captured data from all filtered devices for all recorded phases.
The data is returned in a ZIP archive of JSON output.
NOTE: Device events are not automatically recorded for all devices. You must call something like `ModifyDevice(device_id, 'flags','emulation-tag')` to start the recording the backend.
Once the device has been re-inserted then the emulation data will be available using this API call.
You must have called [method@Client.connect_async] on this before using this method.
| this |
a Client |
| filename |
archive data of JSON files |
| cancellable |
optional Cancellable |
| callback |
the function to run on completion |
| callback_data |
the data to pass to |