template <>

class WireWeakSyncClientImpl

Defined at line 2175 of file fidling/gen/sdk/fidl/fuchsia.metrics/fuchsia.metrics/cpp/fidl/fuchsia.metrics/cpp/wire_messaging.h

Public Methods

::fidl::WireResult< ::fuchsia_metrics::MetricEventLoggerFactory::CreateMetricEventLogger> CreateMetricEventLogger (::fuchsia_metrics::wire::ProjectSpec project_spec, ::fidl::ServerEnd< ::fuchsia_metrics::MetricEventLogger> && logger)

Create a MetricEventLogger for the project specified by `project_spec`.

Allocates 88 bytes of message buffer on the stack. No heap allocation necessary.

::fidl::WireResult< ::fuchsia_metrics::MetricEventLoggerFactory::CreateMetricEventLoggerWithExperiments> CreateMetricEventLoggerWithExperiments (::fuchsia_metrics::wire::ProjectSpec project_spec, ::fidl::VectorView<uint32_t> experiment_ids, ::fidl::ServerEnd< ::fuchsia_metrics::MetricEventLogger> && logger)

Create a MetricEventLogger with experiment metadata.

This temporary method exposes experiment data to Cobalt directly from

components. In the future, experiment state will be managed by the

system and passed directly to Cobalt. Contact the Cobalt team before

using this interface.

To update experiment state create a new logger.

Allocates 504 bytes of message buffer on the stack. No heap allocation necessary.