class DataProvider

Defined at line 4689 of file fidling/gen/sdk/fidl/fuchsia.feedback/fuchsia.feedback/hlcpp/fuchsia/feedback/cpp/fidl.h

Provides data useful to attach to feedback reports, e.g., a crash report filed by the system, a

user feedback report filed by a user or a bug report filed by a developer.

Public Members

static const char[] Name_

Public Methods

void ~DataProvider ()
void GetSnapshot (::fuchsia::feedback::GetSnapshotParameters params, GetSnapshotCallback callback)

Returns a snapshot of the device's state.

`snapshot` may be empty if there was an issue generating the snapshot.

void GetAnnotations (::fuchsia::feedback::GetAnnotationsParameters params, GetAnnotationsCallback callback)

Returns a set of annotations about the device's state.

`annotations` may be empty if there was an issue collecting them.

These are the same annotations as provided through GetSnapshot() - some clients only want

the annotations while others want both the annotations and the snapshot and generating the

snapshot can take significantly more time than collecting the annotations, e.g., logs are

only part of the snapshot and not part of the annotations and can take some time.