build_report_devices


Description:

[ Version ( since = "1.9.20" ) ]
public string build_report_devices (GenericArray<Device> devices, HashTable<string,string> metadata) throws Error

Builds a JSON report for the list of devices.

This function should be called *before* asking the interactive user if they want to upload a report -- as this function filters devices and may return an error if there is nothing to do.

You must have called [method@Client.connect_async] on this before using this method.

Parameters:

this

a Client

devices

devices

metadata

attributes

Returns:

a string, or null if the ID is not present