@@ -74,6 +74,11 @@ struct EXTERNAL IUserSettings : virtual public Core::IUnknown
74
74
// @param service: the changed preferredClosedCaptionService.
75
75
virtual void OnPreferredClosedCaptionServiceChanged (const string& service) {};
76
76
77
+ // @text onPrivacyModeChanged
78
+ // @brief The PrivacyMode setting has changed.
79
+ // @param privacyMode: "SHARE", "DO_NOT_SHARE".
80
+ virtual void OnPrivacyModeChanged (const string& privacyMode /* @text privacyMode */ ) {};
81
+
77
82
// @alt onPinControlChanged
78
83
// @brief The PinControl setting has changed.
79
84
// @param pinControl: pinControl enabled or not.
@@ -219,6 +224,18 @@ struct EXTERNAL IUserSettings : virtual public Core::IUnknown
219
224
// @param service: Identifies the service to display e.g. "CC3".
220
225
virtual Core::hresult GetPreferredClosedCaptionService (string &service /* @out */ ) const = 0;
221
226
227
+ // @text setPrivacyMode
228
+ // @brief Sets the PrivacyMode.
229
+ // @details The setting should be honored by the Telemetry.
230
+ // If privacyMode is "DO_NOT_SHARE", logs and crash report should not be uploaded.
231
+ // @param privacyMode: "SHARE", "DO_NOT_SHARE"
232
+ virtual uint32_t SetPrivacyMode (const string& privacyMode /* @in @text privacyMode*/ ) = 0;
233
+
234
+ // @text getPrivacyMode
235
+ // @brief Gets the current PrivacyMode setting.
236
+ // @param privacyMode: "SHARE"
237
+ virtual uint32_t GetPrivacyMode (string &privacyMode /* @out @text privacyMode */ ) const = 0;
238
+
222
239
// @alt setPinControl
223
240
// @brief Sets PinControl ON/OFF. Parental Control as a whole is enabled or disabled.
224
241
// @param pinControl: Enabled/Disabled
0 commit comments