diff --git a/api/@ohos.data.distributedDataObject.d.ts b/api/@ohos.data.distributedDataObject.d.ts index e11cc4ae833c1428d9ebd3cd9681562e5e6ff396..0de6f7875172eb15defdf6adf79677f8539a7b61 100644 --- a/api/@ohos.data.distributedDataObject.d.ts +++ b/api/@ohos.data.distributedDataObject.d.ts @@ -581,7 +581,7 @@ declare namespace distributedDataObject { * Off watch of change. * * @param { 'change' } type - Event type, fixed as 'change', indicates data change. - * @param { DataObserver } callback - The observer of object data changed, if not null, off the callback, if undefined, off all callbacks. + * @param { DataObserver } [callback] - The observer of object data changed, if not null, off the callback, if undefined, off all callbacks. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject * @since 20 */ @@ -601,7 +601,7 @@ declare namespace distributedDataObject { * Off watch of status. * * @param { 'status' } type - Event type, fixed as 'status', indicates the online and offline of the object. - * @param { StatusObserver } callback - The observer of object status changed, if not null, off the callback, if undefined, off all callbacks. + * @param { StatusObserver } [callback] - The observer of object status changed, if not null, off the callback, if undefined, off all callbacks. * @syscap SystemCapability.DistributedDataManager.DataObject.DistributedObject * @since 20 */