@@ -219,6 +219,45 @@ export interface AppCommonManager {
219
219
onsuccess ?: SuccessCallback ,
220
220
onerror ?: ErrorCallback ,
221
221
) => void ;
222
+
223
+ /**
224
+ * Provides a Universally Unique Identifier (UUID) for the device.
225
+ * The value is unique per application, meaning the same device
226
+ * will yield different UUIDs across different apps.
227
+ *
228
+ * This identifier is not intended for advertising use. Any handling
229
+ * of the UUID must comply with privacy and data protection regulations,
230
+ * including obtaining user consent when required.
231
+ *
232
+ * If your app also makes use of the Tizen Identifier for Advertising (TIFA),
233
+ * you must transmit the UUID separately from TIFA data. Both identifiers
234
+ * should remain logically independent throughout collection, transmission,
235
+ * storage, processing, and deletion on your servers.
236
+ *
237
+ * @returns {string } A UUID specific to this application on the device.
238
+ *
239
+ * @throws {WebAPIException } SecurityError if the caller lacks the required privilege.
240
+ * @throws {Error } An undefined error if the method is not supported by the firmware.
241
+ *
242
+ * @since 2.4
243
+ * @version 1.0
244
+ * @see https://developer.samsung.com/smarttv/develop/api-references/samsung-product-api-references/appcommon-api.html (for related platform info, optional)
245
+ * @example
246
+ * ```ts
247
+ * try {
248
+ * const id = tizen.systeminfo.getUuid();
249
+ * console.log(id); // "550e8400-e29b-41d4-a716-446655440000"
250
+ * } catch (e) {
251
+ * if (e.message.indexOf('undefined')) {
252
+ * console.error('getUuid() is not supported in this firmware version or device model. Consider a legacy method',e);
253
+ * }
254
+ * else {
255
+ * console.log('SecurityError: Application does not have the privilege to call this method.',e);
256
+ * }
257
+ * }
258
+ * ```
259
+ */
260
+ getUuid : ( ) => string ;
222
261
}
223
262
/**
224
263
* This interface defines the digital mode
0 commit comments