AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
#include <MetricRecorderInterface.h>
Public Member Functions | |
virtual | ~MetricRecorderInterface ()=default |
virtual void | recordMetric (std::shared_ptr< MetricEvent > metricEvent)=0 |
This class provides an interface for the SDK to record metrics to send to sinks.
|
virtualdefault |
Destructor
|
pure virtual |
This function is responsible for making sure that metrics is sent to a sink implementation for their consumption of MetricEvent.
metricEvent | is the metric event to be recorded |
Implemented in alexaClientSDK::metrics::implementations::MetricRecorder, and test::MetricRecorderTest.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0