@@ -42,22 +42,22 @@ namespace WPEFramework
42
42
virtual void OnReportUpload (const string& telemetryUploadStatus) {};
43
43
};
44
44
45
- virtual Core::hresult Register (ITelemetry::INotification* notification /* @in */ ) = 0;
46
- virtual Core::hresult Unregister (ITelemetry::INotification* notification /* @in */ ) = 0;
45
+ virtual Core::hresult Register (ITelemetry::INotification* notification) = 0;
46
+ virtual Core::hresult Unregister (ITelemetry::INotification* notification) = 0;
47
47
48
48
/* *********************setReportProfileStatus() - start****************************/
49
49
// @text setReportProfileStatus
50
50
// @brief Sets the status of telemetry reporting
51
51
// @param status - in - string
52
- virtual Core::hresult SetReportProfileStatus (const string& status /* @in */ ) = 0;
52
+ virtual Core::hresult SetReportProfileStatus (const string& status) = 0;
53
53
/* *********************setReportProfileStatus() - end******************************/
54
54
55
55
/* *********************logApplicationEvent() - start*******************************/
56
56
// @text logApplicationEvent
57
57
// @brief Logs an application
58
58
// @param eventName - in - string
59
59
// @param eventValue - in - string
60
- virtual Core::hresult LogApplicationEvent (const string& eventName /* @in */ , const string& eventValue /* @in */ ) = 0;
60
+ virtual Core::hresult LogApplicationEvent (const string& eventName , const string& eventValue) = 0;
61
61
/* *********************logApplicationEvent() - end*********************************/
62
62
63
63
/* *********************uploadReport() - start**************************************/
@@ -71,6 +71,22 @@ namespace WPEFramework
71
71
// @brief Abort report upload
72
72
virtual Core::hresult AbortReport () = 0;
73
73
/* *********************abortReport() - end*****************************************/
74
+
75
+ /* *********************setOptOutTelemetry() - start***************************************/
76
+ // @text setOptOutTelemetry
77
+ // @brief Sets the telemetry opt-out status.
78
+ // @param OptOut - in - boolean
79
+ // @param TelemetrySuccess - out - struct
80
+ virtual Core::hresult SetOptOutTelemetry (const bool OptOut /* @text Opt-Out */ , TelemetrySuccess& successResult /* @out */ ) = 0;
81
+ /* *********************setOptOutTelemetry() - end*****************************************/
82
+
83
+ /* *********************isOptOutTelemetry() - start***************************************/
84
+ // @text isOptOutTelemetry
85
+ // @brief Checks the telemetry opt-out status.
86
+ // @param OptOut - out - boolean
87
+ // @param success - out - boolean
88
+ virtual Core::hresult IsOptOutTelemetry (bool & OptOut /* @out @text Opt-Out*/ , bool & success /* @out */ ) = 0
89
+ /* *********************isOptOutTelemetry() - end*****************************************/
74
90
};
75
91
} // namespace Exchange
76
92
} // namespace WPEFramework
0 commit comments