harmony 鸿蒙js-apidiff-distributed-data

  • 2023-06-24
  • 浏览 (353)

Change Type Old Version New Version d.ts File
Deleted Class name: KVStore;
Method or attribute name: on(event: ‘dataChange’, type: SubscribeType, observer: Callback<ChangeNotification>): void;
NA @ohos.data.distributedData.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: off(event: ‘dataChange’, listener?: Callback<ChangeNotification>): void;
@ohos.data.distributedData.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: off(event: ‘dataChange’, listener?: Callback<ChangeNotification>): void;
@ohos.data.distributedData.d.ts
Added NA Class name: DataObject;
Method or attribute name: setSessionId(sessionId: string, callback: AsyncCallback): void;
@ohos.data.distributedDataObject.d.ts
Added NA Class name: DataObject;
Method or attribute name: setSessionId(sessionId?: string): Promise;
@ohos.data.distributedDataObject.d.ts
Added NA Class name: DataObject;
Method or attribute name: on(type: ‘change’, callback: Callback<{ sessionId: string, fields: Array<string> }>): void;
@ohos.data.distributedDataObject.d.ts
Added NA Class name: DataObject;
Method or attribute name: on(type: ‘status’,

callback: Callback<{ sessionId: string, networkId: string, status: ‘online’ |‘offline’ }>): void;
@ohos.data.distributedDataObject.d.ts
Added NA Class name: DataObject;
Method or attribute name: off(type: ‘change’, callback?: Callback<{ sessionId: string, fields: Array<string> }>): void;
@ohos.data.distributedDataObject.d.ts
Added NA Class name: DataObject;
Method or attribute name: off(type: ‘status’,

callback?: Callback<{ sessionId: string, deviceId: string, status: ‘online’ |‘offline’ }>): void;
@ohos.data.distributedDataObject.d.ts
Added NA Class name: DataShareExtensionAbility;
Method or attribute name: context?: ExtensionContext;
@ohos.application.DataShareExtensionAbility.d.ts
Added NA Class name: DataShareExtensionAbility;
Method or attribute name: onCreate?(want: Want, callback: AsyncCallback<void>): void;
@ohos.application.DataShareExtensionAbility.d.ts
Added NA Class name: DataShareExtensionAbility;
Method or attribute name: insert?(uri: string, valueBucket: ValuesBucket, callback: AsyncCallback<number>): void;
@ohos.application.DataShareExtensionAbility.d.ts
Added NA Class name: DataShareExtensionAbility;
Method or attribute name: update?(uri: string, predicates: dataSharePredicates.DataSharePredicates, valueBucket: ValuesBucket,
callback: AsyncCallback<number>): void;
@ohos.application.DataShareExtensionAbility.d.ts
Added NA Class name: DataShareExtensionAbility;
Method or attribute name: delete?(uri: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<number>): void;
@ohos.application.DataShareExtensionAbility.d.ts
Added NA Class name: DataShareExtensionAbility;
Method or attribute name: query?(uri: string, predicates: dataSharePredicates.DataSharePredicates, columns: Array<string>,
callback: AsyncCallback<Object>): void;
@ohos.application.DataShareExtensionAbility.d.ts
Added NA Class name: DataShareExtensionAbility;
Method or attribute name: batchInsert?(uri: string, valueBuckets: Array<ValuesBucket>, callback: AsyncCallback<number>): void;
@ohos.application.DataShareExtensionAbility.d.ts
Added NA Class name: DataShareExtensionAbility;
Method or attribute name: normalizeUri?(uri: string, callback: AsyncCallback<string>): void;
@ohos.application.DataShareExtensionAbility.d.ts
Added NA Class name: DataShareExtensionAbility;
Method or attribute name: denormalizeUri?(uri: string, callback: AsyncCallback<string>): void;
@ohos.application.DataShareExtensionAbility.d.ts
Added NA Class name: dataShare;
Method or attribute name: function createDataShareHelper(context: Context, uri: string, callback: AsyncCallback<DataShareHelper>): void;
@ohos.data.dataShare.d.ts
Added NA Class name: dataShare;
Method or attribute name: function createDataShareHelper(context: Context, uri: string): Promise<DataShareHelper>;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: on(type: ‘dataChange’, uri: string, callback: AsyncCallback<void>): void;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: off(type: ‘dataChange’, uri: string, callback?: AsyncCallback<void>): void;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: insert(uri: string, value: ValuesBucket, callback: AsyncCallback<number>): void;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: insert(uri: string, value: ValuesBucket): Promise<number>;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: delete(uri: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<number>): void;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: delete(uri: string, predicates: dataSharePredicates.DataSharePredicates): Promise<number>;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: query(uri: string, predicates: dataSharePredicates.DataSharePredicates, columns: Array<string>,
callback: AsyncCallback<DataShareResultSet>): void;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: query(uri: string, predicates: dataSharePredicates.DataSharePredicates,
columns: Array<string>): Promise<DataShareResultSet>;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: update(uri: string, predicates: dataSharePredicates.DataSharePredicates, value: ValuesBucket,
callback: AsyncCallback<number>): void;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: update(uri: string, predicates: dataSharePredicates.DataSharePredicates, value: ValuesBucket): Promise<number>;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: batchInsert(uri: string, values: Array<ValuesBucket>, callback: AsyncCallback<number>): void;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: batchInsert(uri: string, values: Array<ValuesBucket>): Promise<number>;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: normalizeUri(uri: string, callback: AsyncCallback<string>): void;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: normalizeUri(uri: string): Promise<string>;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: denormalizeUri(uri: string, callback: AsyncCallback<string>): void;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: denormalizeUri(uri: string): Promise<string>;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: notifyChange(uri: string, callback: AsyncCallback<void>): void;
@ohos.data.dataShare.d.ts
Added NA Class name: DataShareHelper;
Method or attribute name: notifyChange(uri: string): Promise<void>;
@ohos.data.dataShare.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: equalTo(field: string, value: ValueType): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: notEqualTo(field: string, value: ValueType): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: beginWrap(): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: endWrap(): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: or(): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: and(): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: contains(field: string, value: string): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: beginsWith(field: string, value: string): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: endsWith(field: string, value: string): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: isNull(field: string): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: isNotNull(field: string): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: like(field: string, value: string): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: unlike(field: string, value: string): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: glob(field: string, value: string): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: between(field: string, low: ValueType, high: ValueType): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: notBetween(field: string, low: ValueType, high: ValueType): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: greaterThan(field: string, value: ValueType): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: lessThan(field: string, value: ValueType): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: greaterThanOrEqualTo(field: string, value: ValueType): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: lessThanOrEqualTo(field: string, value: ValueType): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: orderByAsc(field: string): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: orderByDesc(field: string): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: distinct(): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: limit(total: number, offset: number): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: groupBy(fields: Array<string>): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: indexedBy(field: string): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: in(field: string, value: Array<ValueType>): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: notIn(field: string, value: Array<ValueType>): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: prefixKey(prefix: string): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataSharePredicates;
Method or attribute name: inKeys(keys: Array<string>): DataSharePredicates;
@ohos.data.dataSharePredicates.d.ts
Added NA Class name: DataType;
Method or attribute name: TYPE_NULL = 0
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataType;
Method or attribute name: TYPE_LONG = 1
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataType;
Method or attribute name: TYPE_DOUBLE = 2
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataType;
Method or attribute name: TYPE_STRING = 3
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataType;
Method or attribute name: TYPE_BLOB = 4
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: columnNames: Array<string>;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: columnCount: number;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: rowCount: number;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: isClosed: boolean;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: goToFirstRow(): boolean;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: goToLastRow(): boolean;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: goToNextRow(): boolean;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: goToPreviousRow(): boolean;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: goTo(offset: number): boolean;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: goToRow(position: number): boolean;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: getBlob(columnIndex: number): Uint8Array;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: getString(columnIndex: number): string;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: getLong(columnIndex: number): number;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: getDouble(columnIndex: number): number;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: close(): void;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: getColumnIndex(columnName: string): number;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: getColumnName(columnIndex: number): string;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: DataShareResultSet;
Method or attribute name: getDataType(columnIndex: number): DataType;
@ohos.data.DataShareResultSet.d.ts
Added NA Class name: KVStore;
Method or attribute name: on(event: ‘dataChange’, type: SubscribeType, listener: Callback<ChangeNotification>): void;
@ohos.data.distributedData.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: on(event: ‘dataChange’, type: SubscribeType, listener: Callback<ChangeNotification>): void;
@ohos.data.distributedData.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: on(event: ‘dataChange’, type: SubscribeType, listener: Callback<ChangeNotification>): void;
@ohos.data.distributedData.d.ts
Added NA Class name: distributedDataObject;
Method or attribute name: function create(context: Context, source: object): DataObject;
@ohos.data.distributedDataObject.d.ts
Added NA Class name: SaveSuccessResponse;
Method or attribute name: sessionId: string;
@ohos.data.distributedDataObject.d.ts
Added NA Class name: RevokeSaveSuccessResponse;
Method or attribute name: sessionId: string;
@ohos.data.distributedDataObject.d.ts
Added NA Class name: SaveSuccessResponse;
Method or attribute name: version: number;
@ohos.data.distributedDataObject.d.ts
Added NA Class name: SaveSuccessResponse;
Method or attribute name: deviceId: string;
@ohos.data.distributedDataObject.d.ts
Added NA Class name: DataObject;
Method or attribute name: setSessionId(callback: AsyncCallback<void>): void;
@ohos.data.distributedDataObject.d.ts
Added NA Class name: DataObject;
Method or attribute name: save(deviceId: string, callback: AsyncCallback<SaveSuccessResponse>): void;
@ohos.data.distributedDataObject.d.ts
Added NA Class name: DataObject;
Method or attribute name: save(deviceId: string): Promise<SaveSuccessResponse>;
@ohos.data.distributedDataObject.d.ts
Added NA Class name: DataObject;
Method or attribute name: revokeSave(callback: AsyncCallback<RevokeSaveSuccessResponse>): void;
@ohos.data.distributedDataObject.d.ts
Added NA Class name: DataObject;
Method or attribute name: revokeSave(): Promise<RevokeSaveSuccessResponse>;
@ohos.data.distributedDataObject.d.ts
Added NA Class name: distributedKVStore;
Method or attribute name: function createKVManager(config: KVManagerConfig): KVManager;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVManagerConfig;
Method or attribute name: bundleName: string;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVManagerConfig;
Method or attribute name: context: Context;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Constants;
Method or attribute name: readonly MAX_KEY_LENGTH: number;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Constants;
Method or attribute name: readonly MAX_VALUE_LENGTH: number;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Constants;
Method or attribute name: readonly MAX_KEY_LENGTH_DEVICE: number;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Constants;
Method or attribute name: readonly MAX_STORE_ID_LENGTH: number;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Constants;
Method or attribute name: readonly MAX_QUERY_LENGTH: number;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Constants;
Method or attribute name: readonly MAX_BATCH_SIZE: number;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: ValueType;
Method or attribute name: STRING
@ohos.data.distributedKVStore.d.ts
Added NA Class name: ValueType;
Method or attribute name: INTEGER
@ohos.data.distributedKVStore.d.ts
Added NA Class name: ValueType;
Method or attribute name: FLOAT
@ohos.data.distributedKVStore.d.ts
Added NA Class name: ValueType;
Method or attribute name: BYTE_ARRAY
@ohos.data.distributedKVStore.d.ts
Added NA Class name: ValueType;
Method or attribute name: BOOLEAN
@ohos.data.distributedKVStore.d.ts
Added NA Class name: ValueType;
Method or attribute name: DOUBLE
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Value;
Method or attribute name: type: ValueType;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Value;
Method or attribute name: value: Uint8Array |string |number |boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Entry;
Method or attribute name: key: string;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Entry;
Method or attribute name: value: Value;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: ChangeNotification;
Method or attribute name: insertEntries: Entry[];
@ohos.data.distributedKVStore.d.ts
Added NA Class name: ChangeNotification;
Method or attribute name: updateEntries: Entry[];
@ohos.data.distributedKVStore.d.ts
Added NA Class name: ChangeNotification;
Method or attribute name: deleteEntries: Entry[];
@ohos.data.distributedKVStore.d.ts
Added NA Class name: ChangeNotification;
Method or attribute name: deviceId: string;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SyncMode;
Method or attribute name: PULL_ONLY
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SyncMode;
Method or attribute name: PUSH_ONLY
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SyncMode;
Method or attribute name: PUSH_PULL
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SubscribeType;
Method or attribute name: SUBSCRIBE_TYPE_LOCAL
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SubscribeType;
Method or attribute name: SUBSCRIBE_TYPE_REMOTE
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SubscribeType;
Method or attribute name: SUBSCRIBE_TYPE_ALL
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVStoreType;
Method or attribute name: DEVICE_COLLABORATION
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVStoreType;
Method or attribute name: SINGLE_VERSION
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SecurityLevel;
Method or attribute name: S1
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SecurityLevel;
Method or attribute name: S2
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SecurityLevel;
Method or attribute name: S3
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SecurityLevel;
Method or attribute name: S4
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Options;
Method or attribute name: createIfMissing?: boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Options;
Method or attribute name: encrypt?: boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Options;
Method or attribute name: backup?: boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Options;
Method or attribute name: autoSync?: boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Options;
Method or attribute name: kvStoreType?: KVStoreType;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Options;
Method or attribute name: securityLevel: SecurityLevel;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Options;
Method or attribute name: schema?: Schema;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Schema;
Method or attribute name: constructor()
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: constructor()
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Schema;
Method or attribute name: root: FieldNode;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Schema;
Method or attribute name: indexes: Array<string>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Schema;
Method or attribute name: mode: number;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Schema;
Method or attribute name: skip: number;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: FieldNode;
Method or attribute name: constructor(name: string)
@ohos.data.distributedKVStore.d.ts
Added NA Class name: FieldNode;
Method or attribute name: appendChild(child: FieldNode): boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: FieldNode;
Method or attribute name: default: string;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: FieldNode;
Method or attribute name: nullable: boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: FieldNode;
Method or attribute name: type: number;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVStoreResultSet;
Method or attribute name: getCount(): number;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVStoreResultSet;
Method or attribute name: getPosition(): number;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVStoreResultSet;
Method or attribute name: moveToFirst(): boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVStoreResultSet;
Method or attribute name: moveToLast(): boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVStoreResultSet;
Method or attribute name: moveToNext(): boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVStoreResultSet;
Method or attribute name: moveToPrevious(): boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVStoreResultSet;
Method or attribute name: move(offset: number): boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVStoreResultSet;
Method or attribute name: moveToPosition(position: number): boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVStoreResultSet;
Method or attribute name: isFirst(): boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVStoreResultSet;
Method or attribute name: isLast(): boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVStoreResultSet;
Method or attribute name: isBeforeFirst(): boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVStoreResultSet;
Method or attribute name: isAfterLast(): boolean;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVStoreResultSet;
Method or attribute name: getEntry(): Entry;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: reset(): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: equalTo(field: string, value: number |string |boolean): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: notEqualTo(field: string, value: number |string |boolean): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: greaterThan(field: string, value: number |string |boolean): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: lessThan(field: string, value: number |string): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: greaterThanOrEqualTo(field: string, value: number |string): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: lessThanOrEqualTo(field: string, value: number |string): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: isNull(field: string): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: inNumber(field: string, valueList: number[]): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: inString(field: string, valueList: string[]): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: notInNumber(field: string, valueList: number[]): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: notInString(field: string, valueList: string[]): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: like(field: string, value: string): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: unlike(field: string, value: string): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: and(): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: or(): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: orderByAsc(field: string): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: orderByDesc(field: string): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: limit(total: number, offset: number): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: isNotNull(field: string): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: beginGroup(): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: endGroup(): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: prefixKey(prefix: string): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: setSuggestIndex(index: string): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: deviceId(deviceId: string): Query;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: Query;
Method or attribute name: getSqlLike(): string;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: put(key: string, value: Uint8Array |string |number |boolean, callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: put(key: string, value: Uint8Array |string |number |boolean): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: putBatch(entries: Entry[], callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: putBatch(entries: Entry[]): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: putBatch(value: Array<ValuesBucket>, callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: putBatch(value: Array<ValuesBucket>): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: delete(key: string, callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: delete(key: string): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: delete(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<void>);
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: delete(predicates: dataSharePredicates.DataSharePredicates): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: deleteBatch(keys: string[], callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: deleteBatch(keys: string[]): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: removeDeviceData(deviceId: string, callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: removeDeviceData(deviceId: string): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: get(key: string, callback: AsyncCallback<boolean |string |number |Uint8Array>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: get(key: string, callback: AsyncCallback<boolean |string |number |Uint8Array>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: get(key: string): Promise<boolean |string |number |Uint8Array>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: get(key: string): Promise<boolean |string |number |Uint8Array>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: getEntries(keyPrefix: string, callback: AsyncCallback<Entry[]>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getEntries(keyPrefix: string, callback: AsyncCallback<Entry[]>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: getEntries(keyPrefix: string): Promise<Entry[]>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getEntries(keyPrefix: string): Promise<Entry[]>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: getEntries(query: Query, callback: AsyncCallback<Entry[]>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getEntries(query: Query, callback: AsyncCallback<Entry[]>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: getEntries(query: Query): Promise<Entry[]>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getEntries(query: Query): Promise<Entry[]>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: getResultSet(keyPrefix: string, callback: AsyncCallback<KVStoreResultSet>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getResultSet(keyPrefix: string, callback: AsyncCallback<KVStoreResultSet>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: getResultSet(keyPrefix: string): Promise<KVStoreResultSet>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getResultSet(keyPrefix: string): Promise<KVStoreResultSet>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: getResultSet(query: Query, callback: AsyncCallback<KVStoreResultSet>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getResultSet(query: Query, callback: AsyncCallback<KVStoreResultSet>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: getResultSet(query: Query): Promise<KVStoreResultSet>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getResultSet(query: Query): Promise<KVStoreResultSet>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<KVStoreResultSet>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<KVStoreResultSet>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise<KVStoreResultSet>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getResultSet(predicates: dataSharePredicates.DataSharePredicates): Promise<KVStoreResultSet>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: closeResultSet(resultSet: KVStoreResultSet, callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: closeResultSet(resultSet: KVStoreResultSet): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: getResultSize(query: Query, callback: AsyncCallback<number>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getResultSize(query: Query, callback: AsyncCallback<number>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: getResultSize(query: Query): Promise<number>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getResultSize(query: Query): Promise<number>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: backup(file: string, callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: backup(file: string): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: restore(file: string, callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: restore(file: string): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: deleteBackup(files: Array<string>, callback: AsyncCallback<Array<[string, number]>>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: deleteBackup(files: Array<string>): Promise<Array<[string, number]>>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: startTransaction(callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: startTransaction(): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: commit(callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: commit(): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: rollback(callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: rollback(): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: enableSync(enabled: boolean, callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: enableSync(enabled: boolean): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: setSyncRange(localLabels: string[], remoteSupportLabels: string[], callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: setSyncRange(localLabels: string[], remoteSupportLabels: string[]): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: setSyncParam(defaultAllowedDelayMs: number, callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: setSyncParam(defaultAllowedDelayMs: number): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: sync(deviceIds: string[], mode: SyncMode, delayMs?: number): void
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: sync(deviceIds: string[], query: Query, mode: SyncMode, delayMs?: number): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: on(event: ‘dataChange’, type: SubscribeType, listener: Callback<ChangeNotification>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: on(event: ‘syncComplete’, syncCallback: Callback<Array<[string, number]>>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: off(event: ‘dataChange’, listener?: Callback<ChangeNotification>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: off(event: ‘syncComplete’, syncCallback?: Callback<Array<[string, number]>>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: getSecurityLevel(callback: AsyncCallback<SecurityLevel>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: SingleKVStore;
Method or attribute name: getSecurityLevel(): Promise<SecurityLevel>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: get(deviceId: string, key: string, callback: AsyncCallback<boolean |string |number |Uint8Array>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: get(deviceId: string, key: string): Promise<boolean |string |number |Uint8Array>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getEntries(deviceId: string, keyPrefix: string, callback: AsyncCallback<Entry[]>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getEntries(deviceId: string, keyPrefix: string): Promise<Entry[]>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getEntries(deviceId: string, query: Query, callback: AsyncCallback<Entry[]>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getEntries(deviceId: string, query: Query): Promise<Entry[]>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getResultSet(deviceId: string, keyPrefix: string, callback: AsyncCallback<KVStoreResultSet>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getResultSet(deviceId: string, keyPrefix: string): Promise<KVStoreResultSet>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getResultSet(deviceId: string, query: Query, callback: AsyncCallback<KVStoreResultSet>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getResultSet(deviceId: string, query: Query): Promise<KVStoreResultSet>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getResultSet(deviceId: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<KVStoreResultSet>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getResultSet(deviceId: string, predicates: dataSharePredicates.DataSharePredicates): Promise<KVStoreResultSet>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getResultSize(deviceId: string, query: Query, callback: AsyncCallback<number>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: DeviceKVStore;
Method or attribute name: getResultSize(deviceId: string, query: Query): Promise<number>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVManager;
Method or attribute name: getKVStore<T>(storeId: string, options: Options, callback: AsyncCallback<T>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVManager;
Method or attribute name: getKVStore<T>(storeId: string, options: Options): Promise<T>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVManager;
Method or attribute name: closeKVStore(appId: string, storeId: string, callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVManager;
Method or attribute name: closeKVStore(appId: string, storeId: string): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVManager;
Method or attribute name: deleteKVStore(appId: string, storeId: string, callback: AsyncCallback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVManager;
Method or attribute name: deleteKVStore(appId: string, storeId: string): Promise<void>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVManager;
Method or attribute name: getAllKVStoreId(appId: string, callback: AsyncCallback<string[]>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVManager;
Method or attribute name: getAllKVStoreId(appId: string): Promise<string[]>;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVManager;
Method or attribute name: on(event: ‘distributedDataServiceDie’, deathCallback: Callback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: KVManager;
Method or attribute name: off(event: ‘distributedDataServiceDie’, deathCallback?: Callback<void>): void;
@ohos.data.distributedKVStore.d.ts
Added NA Class name: preferences;
Method or attribute name: function getPreferences(context: Context, name: string, callback: AsyncCallback<Preferences>): void;
@ohos.data.preferences.d.ts
Added NA Class name: preferences;
Method or attribute name: function getPreferences(context: Context, name: string): Promise<Preferences>;
@ohos.data.preferences.d.ts
Added NA Class name: preferences;
Method or attribute name: function deletePreferences(context: Context, name: string, callback: AsyncCallback<void>): void;
@ohos.data.preferences.d.ts
Added NA Class name: preferences;
Method or attribute name: function deletePreferences(context: Context, name: string): Promise<void>;
@ohos.data.preferences.d.ts
Added NA Class name: preferences;
Method or attribute name: function removePreferencesFromCache(context: Context, name: string, callback: AsyncCallback<void>): void;
@ohos.data.preferences.d.ts
Added NA Class name: preferences;
Method or attribute name: function removePreferencesFromCache(context: Context, name: string): Promise<void>;
@ohos.data.preferences.d.ts
Added NA Class name: preferences;
Method or attribute name: type ValueType = number |string |boolean |Array<number> |Array<string> |Array<boolean>;
@ohos.data.preferences.d.ts
Added NA Class name: Preferences;
Method or attribute name: get(key: string, defValue: ValueType, callback: AsyncCallback<ValueType>): void;
@ohos.data.preferences.d.ts
Added NA Class name: Preferences;
Method or attribute name: get(key: string, defValue: ValueType): Promise<ValueType>;
@ohos.data.preferences.d.ts
Added NA Class name: Preferences;
Method or attribute name: getAll(callback: AsyncCallback<Object>): void;
@ohos.data.preferences.d.ts
Added NA Class name: Preferences;
Method or attribute name: getAll(): Promise<Object>;
@ohos.data.preferences.d.ts
Added NA Class name: Preferences;
Method or attribute name: has(key: string, callback: AsyncCallback<boolean>): void;
@ohos.data.preferences.d.ts
Added NA Class name: Preferences;
Method or attribute name: has(key: string): Promise<boolean>;
@ohos.data.preferences.d.ts
Added NA Class name: Preferences;
Method or attribute name: put(key: string, value: ValueType, callback: AsyncCallback<void>): void;
@ohos.data.preferences.d.ts
Added NA Class name: Preferences;
Method or attribute name: put(key: string, value: ValueType): Promise<void>;
@ohos.data.preferences.d.ts
Added NA Class name: Preferences;
Method or attribute name: delete(key: string, callback: AsyncCallback<void>): void;
@ohos.data.preferences.d.ts
Added NA Class name: Preferences;
Method or attribute name: delete(key: string): Promise<void>;
@ohos.data.preferences.d.ts
Added NA Class name: Preferences;
Method or attribute name: clear(callback: AsyncCallback<void>): void;
@ohos.data.preferences.d.ts
Added NA Class name: Preferences;
Method or attribute name: clear(): Promise<void>;
@ohos.data.preferences.d.ts
Added NA Class name: Preferences;
Method or attribute name: flush(callback: AsyncCallback<void>): void;
@ohos.data.preferences.d.ts
Added NA Class name: Preferences;
Method or attribute name: flush(): Promise<void>;
@ohos.data.preferences.d.ts
Added NA Class name: Preferences;
Method or attribute name: on(type: ‘change’, callback: Callback<{ key: string }>): void;
@ohos.data.preferences.d.ts
Added NA Class name: Preferences;
Method or attribute name: off(type: ‘change’, callback?: Callback<{ key: string }>): void;
@ohos.data.preferences.d.ts
Added NA Class name: rdb;
Method or attribute name: export type ResultSet = _ResultSet;
@ohos.data.rdb.d.ts
Added NA Class name: RdbStore;
Method or attribute name: batchInsert(table: string, values: Array<ValuesBucket>, callback: AsyncCallback<number>): void;
@ohos.data.rdb.d.ts
Added NA Class name: RdbStore;
Method or attribute name: batchInsert(table: string, values: Array<ValuesBucket>): Promise<number>;
@ohos.data.rdb.d.ts
Added NA Class name: relationalStore;
Method or attribute name: function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback<RdbStore>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: relationalStore;
Method or attribute name: function getRdbStore(context: Context, config: StoreConfig): Promise<RdbStore>;
@ohos.data.relationalStore.d.ts
Added NA Class name: relationalStore;
Method or attribute name: function deleteRdbStore(context: Context, name: string, callback: AsyncCallback<void>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: relationalStore;
Method or attribute name: function deleteRdbStore(context: Context, name: string): Promise<void>;
@ohos.data.relationalStore.d.ts
Added NA Class name: relationalStore;
Method or attribute name: type ValueType = number |string |boolean |Uint8Array;
@ohos.data.relationalStore.d.ts
Added NA Class name: relationalStore;
Method or attribute name: type ValuesBucket = { [key:string]: ValueType |Uint8Array |null;}
@ohos.data.relationalStore.d.ts
Added NA Class name: StoreConfig;
Method or attribute name: name: string;
@ohos.data.relationalStore.d.ts
Added NA Class name: StoreConfig;
Method or attribute name: securityLevel: SecurityLevel;
@ohos.data.relationalStore.d.ts
Added NA Class name: StoreConfig;
Method or attribute name: encrypt ?: boolean;
@ohos.data.relationalStore.d.ts
Added NA Class name: SecurityLevel;
Method or attribute name: S1 = 1
@ohos.data.relationalStore.d.ts
Added NA Class name: SecurityLevel;
Method or attribute name: S2 = 2
@ohos.data.relationalStore.d.ts
Added NA Class name: SecurityLevel;
Method or attribute name: S3 = 3
@ohos.data.relationalStore.d.ts
Added NA Class name: SecurityLevel;
Method or attribute name: S4 = 4
@ohos.data.relationalStore.d.ts
Added NA Class name: SyncMode;
Method or attribute name: SYNC_MODE_PUSH = 0
@ohos.data.relationalStore.d.ts
Added NA Class name: SyncMode;
Method or attribute name: SYNC_MODE_PULL = 1
@ohos.data.relationalStore.d.ts
Added NA Class name: SubscribeType;
Method or attribute name: SUBSCRIBE_TYPE_REMOTE = 0
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: insert(table: string, values: ValuesBucket, callback: AsyncCallback<number>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: insert(table: string, values: ValuesBucket): Promise<number>;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: batchInsert(table: string, values: Array<ValuesBucket>, callback: AsyncCallback<number>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: batchInsert(table: string, values: Array<ValuesBucket>): Promise<number>;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicates, callback: AsyncCallback<number>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicates): Promise<number>;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<number>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: update(table: string, values: ValuesBucket, predicates: dataSharePredicates.DataSharePredicates): Promise<number>;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: delete(predicates: RdbPredicates, callback: AsyncCallback<number>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: delete(predicates: RdbPredicates): Promise<number>;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallback<number>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: delete(table: string, predicates: dataSharePredicates.DataSharePredicates): Promise<number>;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: query(predicates: RdbPredicates, columns: Array<string>, callback: AsyncCallback<ResultSet>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: query(predicates: RdbPredicates, columns ?: Array<string>): Promise<ResultSet>;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns: Array<string>, callback: AsyncCallback<ResultSet>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: query(table: string, predicates: dataSharePredicates.DataSharePredicates, columns ?: Array<string>): Promise<ResultSet>;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: querySql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallback<ResultSet>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: querySql(sql: string, bindArgs ?: Array<ValueType>): Promise<ResultSet>;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: executeSql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallback<void>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: executeSql(sql: string, bindArgs ?: Array<ValueType>): Promise<void>;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: beginTransaction(): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: commit(): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: rollBack(): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: backup(destName: string, callback: AsyncCallback<void>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: backup(destName: string): Promise<void>;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: restore(srcName: string, callback: AsyncCallback<void>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: restore(srcName: string): Promise<void>;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: setDistributedTables(tables: Array<string>, callback: AsyncCallback<void>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: setDistributedTables(tables: Array<string>): Promise<void>;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: obtainDistributedTableName(device: string, table: string, callback: AsyncCallback<string>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: obtainDistributedTableName(device: string, table: string): Promise<string>;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicates, callback: AsyncCallback<Array<[ string, number ]>>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicates): Promise<Array<[ string, number ]>>;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: remoteQuery(device: string, table: string, predicates: RdbPredicates, columns: Array<string>, callback: AsyncCallback<ResultSet>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: remoteQuery(device: string, table: string, predicates: RdbPredicates, columns: Array<string>): Promise<ResultSet>;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: on(event: ‘dataChange’, type: SubscribeType, observer: Callback<Array<string>>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbStore;
Method or attribute name: off(event: ‘dataChange’, type: SubscribeType, observer: Callback<Array<string>>): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: constructor(name: string)
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: inDevices(devices: Array<string>): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: inAllDevices(): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: equalTo(field: string, value: ValueType): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: notEqualTo(field: string, value: ValueType): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: beginWrap(): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: endWrap(): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: or(): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: and(): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: contains(field: string, value: string): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: beginsWith(field: string, value: string): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: endsWith(field: string, value: string): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: isNull(field: string): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: isNotNull(field: string): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: like(field: string, value: string): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: glob(field: string, value: string): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: between(field: string, low: ValueType, high: ValueType): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: notBetween(field: string, low: ValueType, high: ValueType): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: greaterThan(field: string, value: ValueType): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: lessThan(field: string, value: ValueType): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: greaterThanOrEqualTo(field: string, value: ValueType): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: lessThanOrEqualTo(field: string, value: ValueType): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: orderByAsc(field: string): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: orderByDesc(field: string): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: distinct(): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: limitAs(value: number): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: offsetAs(rowOffset: number): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: groupBy(fields: Array<string>): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: indexedBy(field: string): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: in(field: string, value: Array<ValueType>): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: RdbPredicates;
Method or attribute name: notIn(field: string, value: Array<ValueType>): RdbPredicates;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: columnNames: Array<string>;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: columnCount: number;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: rowCount: number;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: rowIndex: number;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: isAtFirstRow: boolean;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: isAtLastRow: boolean;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: isEnded: boolean;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: isStarted: boolean;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: isClosed: boolean;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: getColumnIndex(columnName: string): number;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: getColumnName(columnIndex: number): string;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: goTo(offset: number): boolean;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: goToRow(position: number): boolean;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: goToFirstRow(): boolean;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: goToLastRow(): boolean;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: goToNextRow(): boolean;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: goToPreviousRow(): boolean;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: getBlob(columnIndex: number): Uint8Array;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: getString(columnIndex: number): string;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: getLong(columnIndex: number): number;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: getDouble(columnIndex: number): number;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: isColumnNull(columnIndex: number): boolean;
@ohos.data.relationalStore.d.ts
Added NA Class name: ResultSet;
Method or attribute name: close(): void;
@ohos.data.relationalStore.d.ts
Added NA Class name: sourcefile;
Method or attribute name: export type ValueType = number |string |boolean;
@ohos.data.ValuesBucket.d.ts
Added NA Class name: sourcefile;
Method or attribute name: export type ValuesBucket = {

[key: string]: ValueType |Uint8Array |null;

}
@ohos.data.ValuesBucket.d.ts
Deprecated version changed Class name: distributedData;
Method or attribute name: declare distributedData
Old version:
Class name: distributedData;
Method or attribute name: declare distributedData
New version: 9
Substitute API: ohos.data.distributedKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: distributedData;
Method or attribute name: function createKVManager(config: KVManagerConfig, callback: AsyncCallback<KVManager>): void;
Old version:
Class name: distributedData;
Method or attribute name: function createKVManager(config: KVManagerConfig, callback: AsyncCallback<KVManager>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore#createKVManager
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: distributedData;
Method or attribute name: function createKVManager(config: KVManagerConfig): Promise<KVManager>;
Old version:
Class name: distributedData;
Method or attribute name: function createKVManager(config: KVManagerConfig): Promise<KVManager>;
New version: 9
Substitute API: ohos.data.distributedKVStore#createKVManager
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVManagerConfig;
Method or attribute name: interface KVManagerConfig
Old version:
Class name: KVManagerConfig;
Method or attribute name: interface KVManagerConfig
New version: 9
Substitute API: ohos.data.distributedKVStore.KVManagerConfig
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVManagerConfig;
Method or attribute name: userInfo: UserInfo;
Old version:
Class name: KVManagerConfig;
Method or attribute name: userInfo: UserInfo;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVManagerConfig
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVManagerConfig;
Method or attribute name: bundleName: string;
Old version:
Class name: KVManagerConfig;
Method or attribute name: bundleName: string;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVManagerConfig#bundleName
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: UserInfo;
Method or attribute name: interface UserInfo
Old version:
Class name: UserInfo;
Method or attribute name: interface UserInfo
New version: 9
Substitute API: ohos.data.distributedKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: UserInfo;
Method or attribute name: userId?: string;
Old version:
Class name: UserInfo;
Method or attribute name: userId?: string;
New version: 9
Substitute API: ohos.data.distributedKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: UserInfo;
Method or attribute name: userType?: UserType;
Old version:
Class name: UserInfo;
Method or attribute name: userType?: UserType;
New version: 9
Substitute API: ohos.data.distributedKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: UserType;
Method or attribute name: enum UserType
Old version:
Class name: UserType;
Method or attribute name: enum UserType
New version: 9
Substitute API: ohos.data.distributedKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: UserType;
Method or attribute name: SAME_USER_ID = 0
Old version:
Class name: UserType;
Method or attribute name: SAME_USER_ID = 0
New version: 9
Substitute API: ohos.data.distributedKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Constants;
Method or attribute name: Constants
Old version:
Class name: Constants;
Method or attribute name: Constants
New version: 9
Substitute API: ohos.data.distributedKVStore.Constants
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: ValueType;
Method or attribute name: enum ValueType
Old version:
Class name: ValueType;
Method or attribute name: enum ValueType
New version: 9
Substitute API: ohos.data.distributedKVStore.ValueType
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: ValueType;
Method or attribute name: STRING = 0
Old version:
Class name: ValueType;
Method or attribute name: STRING = 0
New version: 9
Substitute API: ohos.data.distributedKVStore.ValueType#STRING
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: ValueType;
Method or attribute name: INTEGER = 1
Old version:
Class name: ValueType;
Method or attribute name: INTEGER = 1
New version: 9
Substitute API: ohos.data.distributedKVStore.ValueType#INTEGER
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: ValueType;
Method or attribute name: FLOAT = 2
Old version:
Class name: ValueType;
Method or attribute name: FLOAT = 2
New version: 9
Substitute API: ohos.data.distributedKVStore.ValueType#FLOAT
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: ValueType;
Method or attribute name: BYTE_ARRAY = 3
Old version:
Class name: ValueType;
Method or attribute name: BYTE_ARRAY = 3
New version: 9
Substitute API: ohos.data.distributedKVStore.ValueType#BYTE_ARRAY
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: ValueType;
Method or attribute name: BOOLEAN = 4
Old version:
Class name: ValueType;
Method or attribute name: BOOLEAN = 4
New version: 9
Substitute API: ohos.data.distributedKVStore.ValueType#BOOLEAN
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: ValueType;
Method or attribute name: DOUBLE = 5
Old version:
Class name: ValueType;
Method or attribute name: DOUBLE = 5
New version: 9
Substitute API: ohos.data.distributedKVStore.ValueType#DOUBLE
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Value;
Method or attribute name: interface Value
Old version:
Class name: Value;
Method or attribute name: interface Value
New version: 9
Substitute API: ohos.data.distributedKVStore.Value
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Value;
Method or attribute name: type: ValueType;
Old version:
Class name: Value;
Method or attribute name: type: ValueType;
New version: 9
Substitute API: ohos.data.distributedKVStore.Value#type
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Value;
Method or attribute name: value: Uint8Array |string |number |boolean;
Old version:
Class name: Value;
Method or attribute name: value: Uint8Array |string |number |boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.Value#value
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Entry;
Method or attribute name: interface Entry
Old version:
Class name: Entry;
Method or attribute name: interface Entry
New version: 9
Substitute API: ohos.data.distributedKVStore.Entry
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Entry;
Method or attribute name: key: string;
Old version:
Class name: Entry;
Method or attribute name: key: string;
New version: 9
Substitute API: ohos.data.distributedKVStore.Entry#key
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Entry;
Method or attribute name: value: Value;
Old version:
Class name: Entry;
Method or attribute name: value: Value;
New version: 9
Substitute API: ohos.data.distributedKVStore.Entry#value
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: ChangeNotification;
Method or attribute name: interface ChangeNotification
Old version:
Class name: ChangeNotification;
Method or attribute name: interface ChangeNotification
New version: 9
Substitute API: ohos.data.distributedKVStore.ChangeNotification
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: ChangeNotification;
Method or attribute name: insertEntries: Entry[];
Old version:
Class name: ChangeNotification;
Method or attribute name: insertEntries: Entry[];
New version: 9
Substitute API: ohos.data.distributedKVStore.ChangeNotification#insertEntries
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: ChangeNotification;
Method or attribute name: updateEntries: Entry[];
Old version:
Class name: ChangeNotification;
Method or attribute name: updateEntries: Entry[];
New version: 9
Substitute API: ohos.data.distributedKVStore.ChangeNotification#updateEntries
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: ChangeNotification;
Method or attribute name: deleteEntries: Entry[];
Old version:
Class name: ChangeNotification;
Method or attribute name: deleteEntries: Entry[];
New version: 9
Substitute API: ohos.data.distributedKVStore.ChangeNotification#deleteEntries
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: ChangeNotification;
Method or attribute name: deviceId: string;
Old version:
Class name: ChangeNotification;
Method or attribute name: deviceId: string;
New version: 9
Substitute API: ohos.data.distributedKVStore.ChangeNotification#deviceId
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SyncMode;
Method or attribute name: enum SyncMode
Old version:
Class name: SyncMode;
Method or attribute name: enum SyncMode
New version: 9
Substitute API: ohos.data.distributedKVStore.SyncMode
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SyncMode;
Method or attribute name: PULL_ONLY = 0
Old version:
Class name: SyncMode;
Method or attribute name: PULL_ONLY = 0
New version: 9
Substitute API: ohos.data.distributedKVStore.SyncMode#PULL_ONLY
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SyncMode;
Method or attribute name: PUSH_ONLY = 1
Old version:
Class name: SyncMode;
Method or attribute name: PUSH_ONLY = 1
New version: 9
Substitute API: ohos.data.distributedKVStore.SyncMode#PUSH_ONLY
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SyncMode;
Method or attribute name: PUSH_PULL = 2
Old version:
Class name: SyncMode;
Method or attribute name: PUSH_PULL = 2
New version: 9
Substitute API: ohos.data.distributedKVStore.SyncMode#PUSH_PULL
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SubscribeType;
Method or attribute name: enum SubscribeType
Old version:
Class name: SubscribeType;
Method or attribute name: enum SubscribeType
New version: 9
Substitute API: ohos.data.distributedKVStore.SubscribeType
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SubscribeType;
Method or attribute name: SUBSCRIBE_TYPE_LOCAL = 0
Old version:
Class name: SubscribeType;
Method or attribute name: SUBSCRIBE_TYPE_LOCAL = 0
New version: 9
Substitute API: ohos.data.distributedKVStore.SubscribeType#SUBSCRIBE_TYPE_LOCAL
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SubscribeType;
Method or attribute name: SUBSCRIBE_TYPE_REMOTE = 1
Old version:
Class name: SubscribeType;
Method or attribute name: SUBSCRIBE_TYPE_REMOTE = 1
New version: 9
Substitute API: ohos.data.distributedKVStore.SubscribeType#SUBSCRIBE_TYPE_REMOTE
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SubscribeType;
Method or attribute name: SUBSCRIBE_TYPE_ALL = 2
Old version:
Class name: SubscribeType;
Method or attribute name: SUBSCRIBE_TYPE_ALL = 2
New version: 9
Substitute API: ohos.data.distributedKVStore.SubscribeType#SUBSCRIBE_TYPE_ALL
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStoreType;
Method or attribute name: enum KVStoreType
Old version:
Class name: KVStoreType;
Method or attribute name: enum KVStoreType
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreType
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStoreType;
Method or attribute name: DEVICE_COLLABORATION = 0
Old version:
Class name: KVStoreType;
Method or attribute name: DEVICE_COLLABORATION = 0
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreType#DEVICE_COLLABORATION
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStoreType;
Method or attribute name: SINGLE_VERSION = 1
Old version:
Class name: KVStoreType;
Method or attribute name: SINGLE_VERSION = 1
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreType#SINGLE_VERSION
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStoreType;
Method or attribute name: MULTI_VERSION = 2
Old version:
Class name: KVStoreType;
Method or attribute name: MULTI_VERSION = 2
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreType
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SecurityLevel;
Method or attribute name: enum SecurityLevel
Old version:
Class name: SecurityLevel;
Method or attribute name: enum SecurityLevel
New version: 9
Substitute API: ohos.data.distributedKVStore.SecurityLevel
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SecurityLevel;
Method or attribute name: NO_LEVEL = 0
Old version:
Class name: SecurityLevel;
Method or attribute name: NO_LEVEL = 0
New version: 9
Substitute API: ohos.data.distributedKVStore.SecurityLevel
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SecurityLevel;
Method or attribute name: S0 = 1
Old version:
Class name: SecurityLevel;
Method or attribute name: S0 = 1
New version: 9
Substitute API: ohos.data.distributedKVStore.SecurityLevel
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SecurityLevel;
Method or attribute name: S1 = 2
Old version:
Class name: SecurityLevel;
Method or attribute name: S1 = 2
New version: 9
Substitute API: ohos.data.distributedKVStore.SecurityLevel#S1
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SecurityLevel;
Method or attribute name: S2 = 3
Old version:
Class name: SecurityLevel;
Method or attribute name: S2 = 3
New version: 9
Substitute API: ohos.data.distributedKVStore.SecurityLevel#S2
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SecurityLevel;
Method or attribute name: S3 = 5
Old version:
Class name: SecurityLevel;
Method or attribute name: S3 = 5
New version: 9
Substitute API: ohos.data.distributedKVStore.SecurityLevel#S3
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SecurityLevel;
Method or attribute name: S4 = 6
Old version:
Class name: SecurityLevel;
Method or attribute name: S4 = 6
New version: 9
Substitute API: ohos.data.distributedKVStore.SecurityLevel#S4
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Options;
Method or attribute name: interface Options
Old version:
Class name: Options;
Method or attribute name: interface Options
New version: 9
Substitute API: ohos.data.distributedKVStore.Options
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Options;
Method or attribute name: createIfMissing?: boolean;
Old version:
Class name: Options;
Method or attribute name: createIfMissing?: boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.Options#createIfMissing
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Options;
Method or attribute name: encrypt?: boolean;
Old version:
Class name: Options;
Method or attribute name: encrypt?: boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.Options#encrypt
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Options;
Method or attribute name: backup?: boolean;
Old version:
Class name: Options;
Method or attribute name: backup?: boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.Options#backup
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Options;
Method or attribute name: autoSync?: boolean;
Old version:
Class name: Options;
Method or attribute name: autoSync?: boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.Options#autoSync
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Options;
Method or attribute name: kvStoreType?: KVStoreType;
Old version:
Class name: Options;
Method or attribute name: kvStoreType?: KVStoreType;
New version: 9
Substitute API: ohos.data.distributedKVStore.Options#kvStoreType
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Options;
Method or attribute name: securityLevel?: SecurityLevel;
Old version:
Class name: Options;
Method or attribute name: securityLevel?: SecurityLevel;
New version: 9
Substitute API: ohos.data.distributedKVStore.Options#securityLevel
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Options;
Method or attribute name: schema?: Schema;
Old version:
Class name: Options;
Method or attribute name: schema?: Schema;
New version: 9
Substitute API: ohos.data.distributedKVStore.Options#schema
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Schema;
Method or attribute name: class Schema
Old version:
Class name: Schema;
Method or attribute name: class Schema
New version: 9
Substitute API: ohos.data.distributedKVStore.Schema
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Schema;
Method or attribute name: constructor()
Old version:
Class name: Schema;
Method or attribute name: constructor()
New version: 9
Substitute API: ohos.data.distributedKVStore.Schema#constructor
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: constructor()
Old version:
Class name: Query;
Method or attribute name: constructor()
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#constructor
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Schema;
Method or attribute name: root: FieldNode;
Old version:
Class name: Schema;
Method or attribute name: root: FieldNode;
New version: 9
Substitute API: ohos.data.distributedKVStore.Schema#root
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Schema;
Method or attribute name: indexes: Array<string>;
Old version:
Class name: Schema;
Method or attribute name: indexes: Array<string>;
New version: 9
Substitute API: ohos.data.distributedKVStore.Schema#indexes
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Schema;
Method or attribute name: mode: number;
Old version:
Class name: Schema;
Method or attribute name: mode: number;
New version: 9
Substitute API: ohos.data.distributedKVStore.Schema#mode
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Schema;
Method or attribute name: skip: number;
Old version:
Class name: Schema;
Method or attribute name: skip: number;
New version: 9
Substitute API: ohos.data.distributedKVStore.Schema#skip
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: FieldNode;
Method or attribute name: class FieldNode
Old version:
Class name: FieldNode;
Method or attribute name: class FieldNode
New version: 9
Substitute API: ohos.data.distributedKVStore.FieldNode
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: FieldNode;
Method or attribute name: constructor(name: string)
Old version:
Class name: FieldNode;
Method or attribute name: constructor(name: string)
New version: 9
Substitute API: ohos.data.distributedKVStore.FieldNode#constructor
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: FieldNode;
Method or attribute name: appendChild(child: FieldNode): boolean;
Old version:
Class name: FieldNode;
Method or attribute name: appendChild(child: FieldNode): boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.FieldNode#appendChild
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: FieldNode;
Method or attribute name: default: string;
Old version:
Class name: FieldNode;
Method or attribute name: default: string;
New version: 9
Substitute API: ohos.data.distributedKVStore.FieldNode#default
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: FieldNode;
Method or attribute name: nullable: boolean;
Old version:
Class name: FieldNode;
Method or attribute name: nullable: boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.FieldNode#nullable
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: FieldNode;
Method or attribute name: type: number;
Old version:
Class name: FieldNode;
Method or attribute name: type: number;
New version: 9
Substitute API: ohos.data.distributedKVStore.FieldNode#type
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KvStoreResultSet;
Method or attribute name: interface KvStoreResultSet
Old version:
Class name: KvStoreResultSet;
Method or attribute name: interface KvStoreResultSet
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreResultSet
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KvStoreResultSet;
Method or attribute name: getCount(): number;
Old version:
Class name: KvStoreResultSet;
Method or attribute name: getCount(): number;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreResultSet#getCount
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KvStoreResultSet;
Method or attribute name: getPosition(): number;
Old version:
Class name: KvStoreResultSet;
Method or attribute name: getPosition(): number;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreResultSet#getPosition
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KvStoreResultSet;
Method or attribute name: moveToFirst(): boolean;
Old version:
Class name: KvStoreResultSet;
Method or attribute name: moveToFirst(): boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreResultSet#moveToFirst
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KvStoreResultSet;
Method or attribute name: moveToLast(): boolean;
Old version:
Class name: KvStoreResultSet;
Method or attribute name: moveToLast(): boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreResultSet#moveToLast
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KvStoreResultSet;
Method or attribute name: moveToNext(): boolean;
Old version:
Class name: KvStoreResultSet;
Method or attribute name: moveToNext(): boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreResultSet#moveToNext
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KvStoreResultSet;
Method or attribute name: moveToPrevious(): boolean;
Old version:
Class name: KvStoreResultSet;
Method or attribute name: moveToPrevious(): boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreResultSet#moveToPrevious
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KvStoreResultSet;
Method or attribute name: move(offset: number): boolean;
Old version:
Class name: KvStoreResultSet;
Method or attribute name: move(offset: number): boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreResultSet#move
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KvStoreResultSet;
Method or attribute name: moveToPosition(position: number): boolean;
Old version:
Class name: KvStoreResultSet;
Method or attribute name: moveToPosition(position: number): boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreResultSet#moveToPosition
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KvStoreResultSet;
Method or attribute name: isFirst(): boolean;
Old version:
Class name: KvStoreResultSet;
Method or attribute name: isFirst(): boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreResultSet#isFirst
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KvStoreResultSet;
Method or attribute name: isLast(): boolean;
Old version:
Class name: KvStoreResultSet;
Method or attribute name: isLast(): boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreResultSet#isLast
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KvStoreResultSet;
Method or attribute name: isBeforeFirst(): boolean;
Old version:
Class name: KvStoreResultSet;
Method or attribute name: isBeforeFirst(): boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreResultSet#isBeforeFirst
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KvStoreResultSet;
Method or attribute name: isAfterLast(): boolean;
Old version:
Class name: KvStoreResultSet;
Method or attribute name: isAfterLast(): boolean;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreResultSet#isAfterLast
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KvStoreResultSet;
Method or attribute name: getEntry(): Entry;
Old version:
Class name: KvStoreResultSet;
Method or attribute name: getEntry(): Entry;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVStoreResultSet#getEntry
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: class Query
Old version:
Class name: Query;
Method or attribute name: class Query
New version: 9
Substitute API: ohos.data.distributedKVStore.Query
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: reset(): Query;
Old version:
Class name: Query;
Method or attribute name: reset(): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#reset
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: equalTo(field: string, value: number |string |boolean): Query;
Old version:
Class name: Query;
Method or attribute name: equalTo(field: string, value: number |string |boolean): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#equalTo
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: notEqualTo(field: string, value: number |string |boolean): Query;
Old version:
Class name: Query;
Method or attribute name: notEqualTo(field: string, value: number |string |boolean): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#notEqualTo
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: greaterThan(field: string, value: number |string |boolean): Query;
Old version:
Class name: Query;
Method or attribute name: greaterThan(field: string, value: number |string |boolean): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#greaterThan
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: lessThan(field: string, value: number |string): Query;
Old version:
Class name: Query;
Method or attribute name: lessThan(field: string, value: number |string): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#lessThan
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: greaterThanOrEqualTo(field: string, value: number |string): Query;
Old version:
Class name: Query;
Method or attribute name: greaterThanOrEqualTo(field: string, value: number |string): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#greaterThanOrEqualTo
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: lessThanOrEqualTo(field: string, value: number |string): Query;
Old version:
Class name: Query;
Method or attribute name: lessThanOrEqualTo(field: string, value: number |string): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#lessThanOrEqualTo
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: isNull(field: string): Query;
Old version:
Class name: Query;
Method or attribute name: isNull(field: string): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#isNull
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: inNumber(field: string, valueList: number[]): Query;
Old version:
Class name: Query;
Method or attribute name: inNumber(field: string, valueList: number[]): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#inNumber
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: inString(field: string, valueList: string[]): Query;
Old version:
Class name: Query;
Method or attribute name: inString(field: string, valueList: string[]): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#inString
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: notInNumber(field: string, valueList: number[]): Query;
Old version:
Class name: Query;
Method or attribute name: notInNumber(field: string, valueList: number[]): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#notInNumber
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: notInString(field: string, valueList: string[]): Query;
Old version:
Class name: Query;
Method or attribute name: notInString(field: string, valueList: string[]): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#notInString
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: like(field: string, value: string): Query;
Old version:
Class name: Query;
Method or attribute name: like(field: string, value: string): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#like
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: unlike(field: string, value: string): Query;
Old version:
Class name: Query;
Method or attribute name: unlike(field: string, value: string): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#unlike
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: and(): Query;
Old version:
Class name: Query;
Method or attribute name: and(): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#and
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: or(): Query;
Old version:
Class name: Query;
Method or attribute name: or(): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#or
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: orderByAsc(field: string): Query;
Old version:
Class name: Query;
Method or attribute name: orderByAsc(field: string): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#orderByAsc
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: orderByDesc(field: string): Query;
Old version:
Class name: Query;
Method or attribute name: orderByDesc(field: string): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#orderByDesc
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: limit(total: number, offset: number): Query;
Old version:
Class name: Query;
Method or attribute name: limit(total: number, offset: number): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#limit
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: isNotNull(field: string): Query;
Old version:
Class name: Query;
Method or attribute name: isNotNull(field: string): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#isNotNull
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: beginGroup(): Query;
Old version:
Class name: Query;
Method or attribute name: beginGroup(): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#beginGroup
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: endGroup(): Query;
Old version:
Class name: Query;
Method or attribute name: endGroup(): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#endGroup
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: prefixKey(prefix: string): Query;
Old version:
Class name: Query;
Method or attribute name: prefixKey(prefix: string): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#prefixKey
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: setSuggestIndex(index: string): Query;
Old version:
Class name: Query;
Method or attribute name: setSuggestIndex(index: string): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#setSuggestIndex
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: deviceId(deviceId: string): Query;
Old version:
Class name: Query;
Method or attribute name: deviceId(deviceId: string): Query;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#deviceId
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: Query;
Method or attribute name: getSqlLike(): string;
Old version:
Class name: Query;
Method or attribute name: getSqlLike(): string;
New version: 9
Substitute API: ohos.data.distributedKVStore.Query#getSqlLike
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: interface KVStore
Old version:
Class name: KVStore;
Method or attribute name: interface KVStore
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: put(key: string, value: Uint8Array |string |number |boolean, callback: AsyncCallback<void>): void;
Old version:
Class name: KVStore;
Method or attribute name: put(key: string, value: Uint8Array |string |number |boolean, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#put
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: put(key: string, value: Uint8Array |string |number |boolean): Promise<void>;
Old version:
Class name: KVStore;
Method or attribute name: put(key: string, value: Uint8Array |string |number |boolean): Promise<void>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: delete(key: string, callback: AsyncCallback<void>): void;
Old version:
Class name: KVStore;
Method or attribute name: delete(key: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#delete
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: delete(key: string): Promise<void>;
Old version:
Class name: KVStore;
Method or attribute name: delete(key: string): Promise<void>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: on(event: ‘syncComplete’, syncCallback: Callback<Array<[string, number]>>): void;
Old version:
Class name: KVStore;
Method or attribute name: on(event: ‘syncComplete’, syncCallback: Callback<Array<[string, number]>>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#on
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: on(event: ‘syncComplete’, syncCallback: Callback<Array<[string, number]>>): void;
Old version:
Class name: SingleKVStore;
Method or attribute name: on(event: ‘syncComplete’, syncCallback: Callback<Array<[string, number]>>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#on
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: on(event: ‘syncComplete’, syncCallback: Callback<Array<[string, number]>>): void;
Old version:
Class name: DeviceKVStore;
Method or attribute name: on(event: ‘syncComplete’, syncCallback: Callback<Array<[string, number]>>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore#on
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: off(event: ‘dataChange’, listener?: Callback<ChangeNotification>): void;
Old version:
Class name: KVStore;
Method or attribute name: off(event: ‘dataChange’, listener?: Callback<ChangeNotification>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#off
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: off(event: ‘syncComplete’, syncCallback?: Callback<Array<[string, number]>>): void;
Old version:
Class name: KVStore;
Method or attribute name: off(event: ‘syncComplete’, syncCallback?: Callback<Array<[string, number]>>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#off
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: off(event: ‘syncComplete’, syncCallback?: Callback<Array<[string, number]>>): void;
Old version:
Class name: SingleKVStore;
Method or attribute name: off(event: ‘syncComplete’, syncCallback?: Callback<Array<[string, number]>>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#off
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: off(event: ‘syncComplete’, syncCallback?: Callback<Array<[string, number]>>): void;
Old version:
Class name: DeviceKVStore;
Method or attribute name: off(event: ‘syncComplete’, syncCallback?: Callback<Array<[string, number]>>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore#off
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: putBatch(entries: Entry[], callback: AsyncCallback<void>): void;
Old version:
Class name: KVStore;
Method or attribute name: putBatch(entries: Entry[], callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#putBatch
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: putBatch(entries: Entry[]): Promise<void>;
Old version:
Class name: KVStore;
Method or attribute name: putBatch(entries: Entry[]): Promise<void>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: deleteBatch(keys: string[], callback: AsyncCallback<void>): void;
Old version:
Class name: KVStore;
Method or attribute name: deleteBatch(keys: string[], callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#deleteBatch
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: deleteBatch(keys: string[]): Promise<void>;
Old version:
Class name: KVStore;
Method or attribute name: deleteBatch(keys: string[]): Promise<void>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: startTransaction(callback: AsyncCallback<void>): void;
Old version:
Class name: KVStore;
Method or attribute name: startTransaction(callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#startTransaction
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: startTransaction(): Promise<void>;
Old version:
Class name: KVStore;
Method or attribute name: startTransaction(): Promise<void>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: commit(callback: AsyncCallback<void>): void;
Old version:
Class name: KVStore;
Method or attribute name: commit(callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#commit
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: commit(): Promise<void>;
Old version:
Class name: KVStore;
Method or attribute name: commit(): Promise<void>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: rollback(callback: AsyncCallback<void>): void;
Old version:
Class name: KVStore;
Method or attribute name: rollback(callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#rollback
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: rollback(): Promise<void>;
Old version:
Class name: KVStore;
Method or attribute name: rollback(): Promise<void>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: enableSync(enabled: boolean, callback: AsyncCallback<void>): void;
Old version:
Class name: KVStore;
Method or attribute name: enableSync(enabled: boolean, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#enableSync
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: enableSync(enabled: boolean): Promise<void>;
Old version:
Class name: KVStore;
Method or attribute name: enableSync(enabled: boolean): Promise<void>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: setSyncRange(localLabels: string[], remoteSupportLabels: string[], callback: AsyncCallback<void>): void;
Old version:
Class name: KVStore;
Method or attribute name: setSyncRange(localLabels: string[], remoteSupportLabels: string[], callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#setSyncRange
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVStore;
Method or attribute name: setSyncRange(localLabels: string[], remoteSupportLabels: string[]): Promise<void>;
Old version:
Class name: KVStore;
Method or attribute name: setSyncRange(localLabels: string[], remoteSupportLabels: string[]): Promise<void>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: interface SingleKVStore
Old version:
Class name: SingleKVStore;
Method or attribute name: interface SingleKVStore
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: get(key: string, callback: AsyncCallback<Uint8Array |string |boolean |number>): void;
Old version:
Class name: SingleKVStore;
Method or attribute name: get(key: string, callback: AsyncCallback<Uint8Array |string |boolean |number>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#get
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: get(key: string): Promise<Uint8Array |string |boolean |number>;
Old version:
Class name: SingleKVStore;
Method or attribute name: get(key: string): Promise<Uint8Array |string |boolean |number>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: getEntries(keyPrefix: string, callback: AsyncCallback<Entry[]>): void;
Old version:
Class name: SingleKVStore;
Method or attribute name: getEntries(keyPrefix: string, callback: AsyncCallback<Entry[]>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#getEntries
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: getEntries(keyPrefix: string): Promise<Entry[]>;
Old version:
Class name: SingleKVStore;
Method or attribute name: getEntries(keyPrefix: string): Promise<Entry[]>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: getEntries(query: Query, callback: AsyncCallback<Entry[]>): void;
Old version:
Class name: SingleKVStore;
Method or attribute name: getEntries(query: Query, callback: AsyncCallback<Entry[]>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#getEntries
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: getEntries(query: Query, callback: AsyncCallback<Entry[]>): void;
Old version:
Class name: DeviceKVStore;
Method or attribute name: getEntries(query: Query, callback: AsyncCallback<Entry[]>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore#getEntries
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: getEntries(query: Query): Promise<Entry[]>;
Old version:
Class name: SingleKVStore;
Method or attribute name: getEntries(query: Query): Promise<Entry[]>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: getEntries(query: Query): Promise<Entry[]>;
Old version:
Class name: DeviceKVStore;
Method or attribute name: getEntries(query: Query): Promise<Entry[]>;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: getResultSet(keyPrefix: string, callback: AsyncCallback<KvStoreResultSet>): void;
Old version:
Class name: SingleKVStore;
Method or attribute name: getResultSet(keyPrefix: string, callback: AsyncCallback<KvStoreResultSet>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#getResultSet
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: getResultSet(keyPrefix: string): Promise<KvStoreResultSet>;
Old version:
Class name: SingleKVStore;
Method or attribute name: getResultSet(keyPrefix: string): Promise<KvStoreResultSet>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: getResultSet(query: Query, callback: AsyncCallback<KvStoreResultSet>): void;
Old version:
Class name: SingleKVStore;
Method or attribute name: getResultSet(query: Query, callback: AsyncCallback<KvStoreResultSet>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#getResultSet
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: getResultSet(query: Query, callback: AsyncCallback<KvStoreResultSet>): void;
Old version:
Class name: DeviceKVStore;
Method or attribute name: getResultSet(query: Query, callback: AsyncCallback<KvStoreResultSet>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore#getResultSet
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: getResultSet(query: Query): Promise<KvStoreResultSet>;
Old version:
Class name: SingleKVStore;
Method or attribute name: getResultSet(query: Query): Promise<KvStoreResultSet>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: getResultSet(query: Query): Promise<KvStoreResultSet>;
Old version:
Class name: DeviceKVStore;
Method or attribute name: getResultSet(query: Query): Promise<KvStoreResultSet>;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: closeResultSet(resultSet: KvStoreResultSet, callback: AsyncCallback<void>): void;
Old version:
Class name: SingleKVStore;
Method or attribute name: closeResultSet(resultSet: KvStoreResultSet, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#closeResultSet
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: closeResultSet(resultSet: KvStoreResultSet, callback: AsyncCallback<void>): void;
Old version:
Class name: DeviceKVStore;
Method or attribute name: closeResultSet(resultSet: KvStoreResultSet, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore#closeResultSet
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: closeResultSet(resultSet: KvStoreResultSet): Promise<void>;
Old version:
Class name: SingleKVStore;
Method or attribute name: closeResultSet(resultSet: KvStoreResultSet): Promise<void>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: closeResultSet(resultSet: KvStoreResultSet): Promise<void>;
Old version:
Class name: DeviceKVStore;
Method or attribute name: closeResultSet(resultSet: KvStoreResultSet): Promise<void>;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: getResultSize(query: Query, callback: AsyncCallback<number>): void;
Old version:
Class name: SingleKVStore;
Method or attribute name: getResultSize(query: Query, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#getResultSize
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: getResultSize(query: Query, callback: AsyncCallback<number>): void;
Old version:
Class name: DeviceKVStore;
Method or attribute name: getResultSize(query: Query, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore#getResultSize
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: getResultSize(query: Query): Promise<number>;
Old version:
Class name: SingleKVStore;
Method or attribute name: getResultSize(query: Query): Promise<number>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: getResultSize(query: Query): Promise<number>;
Old version:
Class name: DeviceKVStore;
Method or attribute name: getResultSize(query: Query): Promise<number>;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: removeDeviceData(deviceId: string, callback: AsyncCallback<void>): void;
Old version:
Class name: SingleKVStore;
Method or attribute name: removeDeviceData(deviceId: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#removeDeviceData
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: removeDeviceData(deviceId: string, callback: AsyncCallback<void>): void;
Old version:
Class name: DeviceKVStore;
Method or attribute name: removeDeviceData(deviceId: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore#removeDeviceData
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: removeDeviceData(deviceId: string): Promise<void>;
Old version:
Class name: SingleKVStore;
Method or attribute name: removeDeviceData(deviceId: string): Promise<void>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: removeDeviceData(deviceId: string): Promise<void>;
Old version:
Class name: DeviceKVStore;
Method or attribute name: removeDeviceData(deviceId: string): Promise<void>;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: sync(deviceIds: string[], mode: SyncMode, delayMs?: number): void;
Old version:
Class name: SingleKVStore;
Method or attribute name: sync(deviceIds: string[], mode: SyncMode, delayMs?: number): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#sync
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: sync(deviceIds: string[], mode: SyncMode, delayMs?: number): void;
Old version:
Class name: DeviceKVStore;
Method or attribute name: sync(deviceIds: string[], mode: SyncMode, delayMs?: number): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore#sync
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: setSyncParam(defaultAllowedDelayMs: number, callback: AsyncCallback<void>): void;
Old version:
Class name: SingleKVStore;
Method or attribute name: setSyncParam(defaultAllowedDelayMs: number, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#setSyncParam
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: setSyncParam(defaultAllowedDelayMs: number): Promise<void>;
Old version:
Class name: SingleKVStore;
Method or attribute name: setSyncParam(defaultAllowedDelayMs: number): Promise<void>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: getSecurityLevel(callback: AsyncCallback<SecurityLevel>): void;
Old version:
Class name: SingleKVStore;
Method or attribute name: getSecurityLevel(callback: AsyncCallback<SecurityLevel>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore#getSecurityLevel
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: SingleKVStore;
Method or attribute name: getSecurityLevel(): Promise<SecurityLevel>;
Old version:
Class name: SingleKVStore;
Method or attribute name: getSecurityLevel(): Promise<SecurityLevel>;
New version: 9
Substitute API: ohos.data.distributedKVStore.SingleKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: interface DeviceKVStore
Old version:
Class name: DeviceKVStore;
Method or attribute name: interface DeviceKVStore
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: get(deviceId: string, key: string, callback: AsyncCallback<boolean |string |number |Uint8Array>): void;
Old version:
Class name: DeviceKVStore;
Method or attribute name: get(deviceId: string, key: string, callback: AsyncCallback<boolean |string |number |Uint8Array>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore#get
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: get(deviceId: string, key: string): Promise<boolean |string |number |Uint8Array>;
Old version:
Class name: DeviceKVStore;
Method or attribute name: get(deviceId: string, key: string): Promise<boolean |string |number |Uint8Array>;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: getEntries(deviceId: string, keyPrefix: string, callback: AsyncCallback<Entry[]>): void;
Old version:
Class name: DeviceKVStore;
Method or attribute name: getEntries(deviceId: string, keyPrefix: string, callback: AsyncCallback<Entry[]>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore#getEntries
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: getEntries(deviceId: string, keyPrefix: string): Promise<Entry[]>;
Old version:
Class name: DeviceKVStore;
Method or attribute name: getEntries(deviceId: string, keyPrefix: string): Promise<Entry[]>;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: getEntries(deviceId: string, query: Query, callback: AsyncCallback<Entry[]>): void;
Old version:
Class name: DeviceKVStore;
Method or attribute name: getEntries(deviceId: string, query: Query, callback: AsyncCallback<Entry[]>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore#getEntries
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: getEntries(deviceId: string, query: Query): Promise<Entry[]>;
Old version:
Class name: DeviceKVStore;
Method or attribute name: getEntries(deviceId: string, query: Query): Promise<Entry[]>;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: getResultSet(deviceId: string, keyPrefix: string, callback: AsyncCallback<KvStoreResultSet>): void;
Old version:
Class name: DeviceKVStore;
Method or attribute name: getResultSet(deviceId: string, keyPrefix: string, callback: AsyncCallback<KvStoreResultSet>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore#getResultSet
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: getResultSet(deviceId: string, keyPrefix: string): Promise<KvStoreResultSet>;
Old version:
Class name: DeviceKVStore;
Method or attribute name: getResultSet(deviceId: string, keyPrefix: string): Promise<KvStoreResultSet>;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: getResultSet(deviceId: string, query: Query, callback: AsyncCallback<KvStoreResultSet>): void;
Old version:
Class name: DeviceKVStore;
Method or attribute name: getResultSet(deviceId: string, query: Query, callback: AsyncCallback<KvStoreResultSet>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore#getResultSet
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: getResultSet(deviceId: string, query: Query): Promise<KvStoreResultSet>;
Old version:
Class name: DeviceKVStore;
Method or attribute name: getResultSet(deviceId: string, query: Query): Promise<KvStoreResultSet>;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: getResultSize(deviceId: string, query: Query, callback: AsyncCallback<number>): void;
Old version:
Class name: DeviceKVStore;
Method or attribute name: getResultSize(deviceId: string, query: Query, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore#getResultSize
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: DeviceKVStore;
Method or attribute name: getResultSize(deviceId: string, query: Query): Promise<number>;
Old version:
Class name: DeviceKVStore;
Method or attribute name: getResultSize(deviceId: string, query: Query): Promise<number>;
New version: 9
Substitute API: ohos.data.distributedKVStore.DeviceKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVManager;
Method or attribute name: interface KVManager
Old version:
Class name: KVManager;
Method or attribute name: interface KVManager
New version: 9
Substitute API: ohos.data.distributedKVStore.KVManager
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVManager;
Method or attribute name: getKVStore<T extends KVStore>(storeId: string, options: Options): Promise<T>;
Old version:
Class name: KVManager;
Method or attribute name: getKVStore<T extends KVStore>(storeId: string, options: Options): Promise<T>;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVManager#getKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVManager;
Method or attribute name: getKVStore<T extends KVStore>(storeId: string, options: Options, callback: AsyncCallback<T>): void;
Old version:
Class name: KVManager;
Method or attribute name: getKVStore<T extends KVStore>(storeId: string, options: Options, callback: AsyncCallback<T>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVManager
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVManager;
Method or attribute name: closeKVStore(appId: string, storeId: string, kvStore: KVStore, callback: AsyncCallback<void>): void;
Old version:
Class name: KVManager;
Method or attribute name: closeKVStore(appId: string, storeId: string, kvStore: KVStore, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVManager#closeKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVManager;
Method or attribute name: closeKVStore(appId: string, storeId: string, kvStore: KVStore): Promise<void>;
Old version:
Class name: KVManager;
Method or attribute name: closeKVStore(appId: string, storeId: string, kvStore: KVStore): Promise<void>;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVManager
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVManager;
Method or attribute name: deleteKVStore(appId: string, storeId: string, callback: AsyncCallback<void>): void;
Old version:
Class name: KVManager;
Method or attribute name: deleteKVStore(appId: string, storeId: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVManager#deleteKVStore
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVManager;
Method or attribute name: deleteKVStore(appId: string, storeId: string): Promise<void>;
Old version:
Class name: KVManager;
Method or attribute name: deleteKVStore(appId: string, storeId: string): Promise<void>;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVManager
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVManager;
Method or attribute name: getAllKVStoreId(appId: string, callback: AsyncCallback<string[]>): void;
Old version:
Class name: KVManager;
Method or attribute name: getAllKVStoreId(appId: string, callback: AsyncCallback<string[]>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVManager#getAllKVStoreId
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVManager;
Method or attribute name: getAllKVStoreId(appId: string): Promise<string[]>;
Old version:
Class name: KVManager;
Method or attribute name: getAllKVStoreId(appId: string): Promise<string[]>;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVManager
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVManager;
Method or attribute name: on(event: ‘distributedDataServiceDie’, deathCallback: Callback<void>): void;
Old version:
Class name: KVManager;
Method or attribute name: on(event: ‘distributedDataServiceDie’, deathCallback: Callback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVManager#on
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: KVManager;
Method or attribute name: off(event: ‘distributedDataServiceDie’, deathCallback?: Callback<void>): void;
Old version:
Class name: KVManager;
Method or attribute name: off(event: ‘distributedDataServiceDie’, deathCallback?: Callback<void>): void;
New version: 9
Substitute API: ohos.data.distributedKVStore.KVManager#off
@ohos.data.distributedData.d.ts
Deprecated version changed Class name: distributedDataObject;
Method or attribute name: function createDistributedObject(source: object): DistributedObject;
Old version:
Class name: distributedDataObject;
Method or attribute name: function createDistributedObject(source: object): DistributedObject;
New version: 9
Substitute API: ohos.distributedDataObject.create
@ohos.data.distributedDataObject.d.ts
Deprecated version changed Class name: DistributedObject;
Method or attribute name: interface DistributedObject
Old version:
Class name: DistributedObject;
Method or attribute name: interface DistributedObject
New version: 9
Substitute API: ohos.distributedDataObject.DataObject
@ohos.data.distributedDataObject.d.ts
Deprecated version changed Class name: DistributedObject;
Method or attribute name: setSessionId(sessionId?: string): boolean;
Old version:
Class name: DistributedObject;
Method or attribute name: setSessionId(sessionId?: string): boolean;
New version: 9
Substitute API: ohos.distributedDataObject.DataObject.setSessionId
@ohos.data.distributedDataObject.d.ts
Deprecated version changed Class name: DistributedObject;
Method or attribute name: on(type: ‘change’, callback: Callback<{ sessionId: string, fields: Array<string> }>): void;
Old version:
Class name: DistributedObject;
Method or attribute name: on(type: ‘change’, callback: Callback<{ sessionId: string, fields: Array<string> }>): void;
New version: 9
Substitute API: ohos.distributedDataObject.DataObject.on
@ohos.data.distributedDataObject.d.ts
Deprecated version changed Class name: DistributedObject;
Method or attribute name: on(type: ‘status’,

callback: Callback<{ sessionId: string, networkId: string, status: ‘online’ |‘offline’ }>): void;
Old version:
Class name: DistributedObject;
Method or attribute name: on(type: ‘status’,

callback: Callback<{ sessionId: string, networkId: string, status: ‘online’ |‘offline’ }>): void;
New version: 9
Substitute API: ohos.distributedDataObject.DataObject.on
@ohos.data.distributedDataObject.d.ts
Deprecated version changed Class name: DistributedObject;
Method or attribute name: off(type: ‘change’, callback?: Callback<{ sessionId: string, fields: Array<string> }>): void;
Old version:
Class name: DistributedObject;
Method or attribute name: off(type: ‘change’, callback?: Callback<{ sessionId: string, fields: Array<string> }>): void;
New version: 9
Substitute API: ohos.distributedDataObject.DataObject.off
@ohos.data.distributedDataObject.d.ts
Deprecated version changed Class name: DistributedObject;
Method or attribute name: off(type: ‘status’,

callback?: Callback<{ sessionId: string, deviceId: string, status: ‘online’ |‘offline’ }>): void;
Old version:
Class name: DistributedObject;
Method or attribute name: off(type: ‘status’,

callback?: Callback<{ sessionId: string, deviceId: string, status: ‘online’ |‘offline’ }>): void;
New version: 9
Substitute API: ohos.distributedDataObject.DataObject.off
@ohos.data.distributedDataObject.d.ts
Deprecated version changed Class name: rdb;
Method or attribute name: declare rdb
Old version:
Class name: rdb;
Method or attribute name: declare rdb
New version: 9
Substitute API: ohos.data.relationalStore
@ohos.data.rdb.d.ts
Deprecated version changed Class name: rdb;
Method or attribute name: function getRdbStore(context: Context, config: StoreConfig, version: number, callback: AsyncCallback<RdbStore>): void;
Old version:
Class name: rdb;
Method or attribute name: function getRdbStore(context: Context, config: StoreConfig, version: number, callback: AsyncCallback<RdbStore>): void;
New version: 9
Substitute API: ohos.data.relationalStore.getRdbStore
@ohos.data.rdb.d.ts
Deprecated version changed Class name: rdb;
Method or attribute name: function getRdbStore(context: Context, config: StoreConfig, version: number): Promise<RdbStore>;
Old version:
Class name: rdb;
Method or attribute name: function getRdbStore(context: Context, config: StoreConfig, version: number): Promise<RdbStore>;
New version: 9
Substitute API: ohos.data.relationalStore.getRdbStore
@ohos.data.rdb.d.ts
Deprecated version changed Class name: rdb;
Method or attribute name: function deleteRdbStore(context: Context, name: string, callback: AsyncCallback<void>): void;
Old version:
Class name: rdb;
Method or attribute name: function deleteRdbStore(context: Context, name: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.relationalStore.deleteRdbStore
@ohos.data.rdb.d.ts
Deprecated version changed Class name: rdb;
Method or attribute name: function deleteRdbStore(context: Context, name: string): Promise<void>;
Old version:
Class name: rdb;
Method or attribute name: function deleteRdbStore(context: Context, name: string): Promise<void>;
New version: 9
Substitute API: ohos.data.relationalStore.deleteRdbStore
@ohos.data.rdb.d.ts
Deprecated version changed Class name: rdb;
Method or attribute name: type ValueType = number |string |boolean;
Old version:
Class name: rdb;
Method or attribute name: type ValueType = number |string |boolean;
New version: 9
Substitute API: ohos.data.relationalStore.ValueType
@ohos.data.rdb.d.ts
Deprecated version changed Class name: rdb;
Method or attribute name: type ValuesBucket = { [key:string]: ValueType |Uint8Array |null;
}
Old version:
Class name: rdb;
Method or attribute name: type ValuesBucket = { [key:string]: ValueType |Uint8Array |null;
}
New version: 9
Substitute API: ohos.data.relationalStore.ValuesBucket
@ohos.data.rdb.d.ts
Deprecated version changed Class name: SyncMode;
Method or attribute name: enum SyncMode
Old version:
Class name: SyncMode;
Method or attribute name: enum SyncMode
New version: 9
Substitute API: ohos.data.relationalStore.SyncMode
@ohos.data.rdb.d.ts
Deprecated version changed Class name: SyncMode;
Method or attribute name: SYNC_MODE_PUSH = 0
Old version:
Class name: SyncMode;
Method or attribute name: SYNC_MODE_PUSH = 0
New version: 9
Substitute API: ohos.data.relationalStore.SyncMode.SYNC_MODE_PUSH
@ohos.data.rdb.d.ts
Deprecated version changed Class name: SyncMode;
Method or attribute name: SYNC_MODE_PULL = 1
Old version:
Class name: SyncMode;
Method or attribute name: SYNC_MODE_PULL = 1
New version: 9
Substitute API: ohos.data.relationalStore.SyncMode.SYNC_MODE_PULL
@ohos.data.rdb.d.ts
Deprecated version changed Class name: SubscribeType;
Method or attribute name: enum SubscribeType
Old version:
Class name: SubscribeType;
Method or attribute name: enum SubscribeType
New version: 9
Substitute API: ohos.data.relationalStore.SubscribeType
@ohos.data.rdb.d.ts
Deprecated version changed Class name: SubscribeType;
Method or attribute name: SUBSCRIBE_TYPE_REMOTE = 0
Old version:
Class name: SubscribeType;
Method or attribute name: SUBSCRIBE_TYPE_REMOTE = 0
New version: 9
Substitute API: ohos.data.relationalStore.SubscribeType.SUBSCRIBE_TYPE_REMOTE
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: interface RdbStore
Old version:
Class name: RdbStore;
Method or attribute name: interface RdbStore
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: insert(table: string, values: ValuesBucket, callback: AsyncCallback<number>): void;
Old version:
Class name: RdbStore;
Method or attribute name: insert(table: string, values: ValuesBucket, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.insert
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: insert(table: string, values: ValuesBucket): Promise<number>;
Old version:
Class name: RdbStore;
Method or attribute name: insert(table: string, values: ValuesBucket): Promise<number>;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.insert
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicates, callback: AsyncCallback<number>): void;
Old version:
Class name: RdbStore;
Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicates, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.update
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicates): Promise<number>;
Old version:
Class name: RdbStore;
Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicates): Promise<number>;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.update
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: delete(predicates: RdbPredicates, callback: AsyncCallback<number>): void;
Old version:
Class name: RdbStore;
Method or attribute name: delete(predicates: RdbPredicates, callback: AsyncCallback<number>): void;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.delete
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: delete(predicates: RdbPredicates): Promise<number>;
Old version:
Class name: RdbStore;
Method or attribute name: delete(predicates: RdbPredicates): Promise<number>;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.delete
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: query(predicates: RdbPredicates, columns: Array<string>, callback: AsyncCallback<ResultSet>): void;
Old version:
Class name: RdbStore;
Method or attribute name: query(predicates: RdbPredicates, columns: Array<string>, callback: AsyncCallback<ResultSet>): void;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.query
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: query(predicates: RdbPredicates, columns ?: Array<string>): Promise<ResultSet>;
Old version:
Class name: RdbStore;
Method or attribute name: query(predicates: RdbPredicates, columns ?: Array<string>): Promise<ResultSet>;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.query
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: querySql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallback<ResultSet>): void;
Old version:
Class name: RdbStore;
Method or attribute name: querySql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallback<ResultSet>): void;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.querySql
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: querySql(sql: string, bindArgs ?: Array<ValueType>): Promise<ResultSet>;
Old version:
Class name: RdbStore;
Method or attribute name: querySql(sql: string, bindArgs ?: Array<ValueType>): Promise<ResultSet>;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.querySql
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: executeSql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallback<void>): void;
Old version:
Class name: RdbStore;
Method or attribute name: executeSql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.executeSql
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: executeSql(sql: string, bindArgs ?: Array<ValueType>): Promise<void>;
Old version:
Class name: RdbStore;
Method or attribute name: executeSql(sql: string, bindArgs ?: Array<ValueType>): Promise<void>;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.executeSql
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: beginTransaction(): void;
Old version:
Class name: RdbStore;
Method or attribute name: beginTransaction(): void;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.beginTransaction
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: commit(): void;
Old version:
Class name: RdbStore;
Method or attribute name: commit(): void;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.commit
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: rollBack(): void;
Old version:
Class name: RdbStore;
Method or attribute name: rollBack(): void;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.rollBack
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: setDistributedTables(tables: Array<string>, callback: AsyncCallback<void>): void;
Old version:
Class name: RdbStore;
Method or attribute name: setDistributedTables(tables: Array<string>, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.setDistributedTables
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: setDistributedTables(tables: Array<string>): Promise<void>;
Old version:
Class name: RdbStore;
Method or attribute name: setDistributedTables(tables: Array<string>): Promise<void>;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.setDistributedTables
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: obtainDistributedTableName(device: string, table: string, callback: AsyncCallback<string>): void;
Old version:
Class name: RdbStore;
Method or attribute name: obtainDistributedTableName(device: string, table: string, callback: AsyncCallback<string>): void;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.obtainDistributedTableName
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: obtainDistributedTableName(device: string, table: string): Promise<string>;
Old version:
Class name: RdbStore;
Method or attribute name: obtainDistributedTableName(device: string, table: string): Promise<string>;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.obtainDistributedTableName
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicates, callback: AsyncCallback<Array<[ string, number ]>>): void;
Old version:
Class name: RdbStore;
Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicates, callback: AsyncCallback<Array<[ string, number ]>>): void;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.sync
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicates): Promise<Array<[ string, number ]>>;
Old version:
Class name: RdbStore;
Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicates): Promise<Array<[ string, number ]>>;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.sync
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: on(event: ‘dataChange’, type: SubscribeType, observer: Callback<Array<string>>): void;
Old version:
Class name: RdbStore;
Method or attribute name: on(event: ‘dataChange’, type: SubscribeType, observer: Callback<Array<string>>): void;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.on
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbStore;
Method or attribute name: off(event: ‘dataChange’, type: SubscribeType, observer: Callback<Array<string>>): void;
Old version:
Class name: RdbStore;
Method or attribute name: off(event: ‘dataChange’, type: SubscribeType, observer: Callback<Array<string>>): void;
New version: 9
Substitute API: ohos.data.relationalStore.RdbStore.off
@ohos.data.rdb.d.ts
Deprecated version changed Class name: StoreConfig;
Method or attribute name: interface StoreConfig
Old version:
Class name: StoreConfig;
Method or attribute name: interface StoreConfig
New version: 9
Substitute API: ohos.data.relationalStore.StoreConfig
@ohos.data.rdb.d.ts
Deprecated version changed Class name: StoreConfig;
Method or attribute name: name: string;
Old version:
Class name: StoreConfig;
Method or attribute name: name: string;
New version: 9
Substitute API: ohos.data.relationalStore.StoreConfig
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: class RdbPredicates
Old version:
Class name: RdbPredicates;
Method or attribute name: class RdbPredicates
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: constructor(name: string)
Old version:
Class name: RdbPredicates;
Method or attribute name: constructor(name: string)
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.constructor
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: inDevices(devices: Array<string>): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: inDevices(devices: Array<string>): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.inDevices
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: inAllDevices(): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: inAllDevices(): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.inAllDevices
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: equalTo(field: string, value: ValueType): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: equalTo(field: string, value: ValueType): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.equalTo
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: notEqualTo(field: string, value: ValueType): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: notEqualTo(field: string, value: ValueType): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.notEqualTo
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: beginWrap(): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: beginWrap(): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.beginWrap
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: endWrap(): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: endWrap(): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.endWrap
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: or(): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: or(): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.or
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: and(): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: and(): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.and
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: contains(field: string, value: string): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: contains(field: string, value: string): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.contains
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: beginsWith(field: string, value: string): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: beginsWith(field: string, value: string): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.beginsWith
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: endsWith(field: string, value: string): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: endsWith(field: string, value: string): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.endsWith
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: isNull(field: string): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: isNull(field: string): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.isNull
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: isNotNull(field: string): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: isNotNull(field: string): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.isNotNull
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: like(field: string, value: string): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: like(field: string, value: string): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.like
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: glob(field: string, value: string): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: glob(field: string, value: string): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.glob
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: between(field: string, low: ValueType, high: ValueType): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: between(field: string, low: ValueType, high: ValueType): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.between
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: notBetween(field: string, low: ValueType, high: ValueType): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: notBetween(field: string, low: ValueType, high: ValueType): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.notBetween
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: greaterThan(field: string, value: ValueType): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: greaterThan(field: string, value: ValueType): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.greaterThan
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: lessThan(field: string, value: ValueType): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: lessThan(field: string, value: ValueType): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.lessThan
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: greaterThanOrEqualTo(field: string, value: ValueType): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: greaterThanOrEqualTo(field: string, value: ValueType): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.greaterThanOrEqualTo
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: lessThanOrEqualTo(field: string, value: ValueType): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: lessThanOrEqualTo(field: string, value: ValueType): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.lessThanOrEqualTo
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: orderByAsc(field: string): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: orderByAsc(field: string): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.orderByAsc
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: orderByDesc(field: string): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: orderByDesc(field: string): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.orderByDesc
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: distinct(): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: distinct(): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.distinct
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: limitAs(value: number): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: limitAs(value: number): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.limitAs
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: offsetAs(rowOffset: number): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: offsetAs(rowOffset: number): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.offsetAs
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: groupBy(fields: Array<string>): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: groupBy(fields: Array<string>): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.groupBy
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: indexedBy(field: string): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: indexedBy(field: string): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.indexedBy
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: in(field: string, value: Array<ValueType>): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: in(field: string, value: Array<ValueType>): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.in
@ohos.data.rdb.d.ts
Deprecated version changed Class name: RdbPredicates;
Method or attribute name: notIn(field: string, value: Array<ValueType>): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: notIn(field: string, value: Array<ValueType>): RdbPredicates;
New version: 9
Substitute API: ohos.data.relationalStore.RdbPredicates.notIn
@ohos.data.rdb.d.ts
Deprecated version changed Class name: storage;
Method or attribute name: declare storage
Old version:
Class name: storage;
Method or attribute name: declare storage
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: storage;
Method or attribute name: function getStorageSync(path: string): Storage;
Old version:
Class name: storage;
Method or attribute name: function getStorageSync(path: string): Storage;
New version: 9
Substitute API: ohos.preferences.preferences.getPreferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: storage;
Method or attribute name: function getStorage(path: string, callback: AsyncCallback<Storage>): void;
Old version:
Class name: storage;
Method or attribute name: function getStorage(path: string, callback: AsyncCallback<Storage>): void;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: storage;
Method or attribute name: function getStorage(path: string): Promise<Storage>;
Old version:
Class name: storage;
Method or attribute name: function getStorage(path: string): Promise<Storage>;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: storage;
Method or attribute name: function deleteStorageSync(path: string): void;
Old version:
Class name: storage;
Method or attribute name: function deleteStorageSync(path: string): void;
New version: 9
Substitute API: ohos.preferences.preferences.deletePreferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: storage;
Method or attribute name: function deleteStorage(path: string, callback: AsyncCallback<void>): void;
Old version:
Class name: storage;
Method or attribute name: function deleteStorage(path: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: storage;
Method or attribute name: function deleteStorage(path: string): Promise<void>;
Old version:
Class name: storage;
Method or attribute name: function deleteStorage(path: string): Promise<void>;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: storage;
Method or attribute name: function removeStorageFromCacheSync(path: string): void;
Old version:
Class name: storage;
Method or attribute name: function removeStorageFromCacheSync(path: string): void;
New version: 9
Substitute API: ohos.preferences.preferences.removePreferencesFromCache
@ohos.data.storage.d.ts
Deprecated version changed Class name: storage;
Method or attribute name: function removeStorageFromCache(path: string, callback: AsyncCallback<void>): void;
Old version:
Class name: storage;
Method or attribute name: function removeStorageFromCache(path: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: storage;
Method or attribute name: function removeStorageFromCache(path: string): Promise<void>;
Old version:
Class name: storage;
Method or attribute name: function removeStorageFromCache(path: string): Promise<void>;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: storage;
Method or attribute name: type ValueType = number |string |boolean;
Old version:
Class name: storage;
Method or attribute name: type ValueType = number |string |boolean;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: interface Storage
Old version:
Class name: Storage;
Method or attribute name: interface Storage
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: getSync(key: string, defValue: ValueType): ValueType;
Old version:
Class name: Storage;
Method or attribute name: getSync(key: string, defValue: ValueType): ValueType;
New version: 9
Substitute API: ohos.preferences.preferences.get
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: get(key: string, defValue: ValueType, callback: AsyncCallback<ValueType>): void;
Old version:
Class name: Storage;
Method or attribute name: get(key: string, defValue: ValueType, callback: AsyncCallback<ValueType>): void;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: get(key: string, defValue: ValueType): Promise<ValueType>;
Old version:
Class name: Storage;
Method or attribute name: get(key: string, defValue: ValueType): Promise<ValueType>;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: hasSync(key: string): boolean;
Old version:
Class name: Storage;
Method or attribute name: hasSync(key: string): boolean;
New version: 9
Substitute API: ohos.preferences.preferences.has
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: has(key: string, callback: AsyncCallback<boolean>): boolean;
Old version:
Class name: Storage;
Method or attribute name: has(key: string, callback: AsyncCallback<boolean>): boolean;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: has(key: string): Promise<boolean>;
Old version:
Class name: Storage;
Method or attribute name: has(key: string): Promise<boolean>;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: putSync(key: string, value: ValueType): void;
Old version:
Class name: Storage;
Method or attribute name: putSync(key: string, value: ValueType): void;
New version: 9
Substitute API: ohos.preferences.preferences.put
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: put(key: string, value: ValueType, callback: AsyncCallback<void>): void;
Old version:
Class name: Storage;
Method or attribute name: put(key: string, value: ValueType, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: put(key: string, value: ValueType): Promise<void>;
Old version:
Class name: Storage;
Method or attribute name: put(key: string, value: ValueType): Promise<void>;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: deleteSync(key: string): void;
Old version:
Class name: Storage;
Method or attribute name: deleteSync(key: string): void;
New version: 9
Substitute API: ohos.preferences.preferences.delete
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: delete(key: string, callback: AsyncCallback<void>): void;
Old version:
Class name: Storage;
Method or attribute name: delete(key: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: delete(key: string): Promise<void>;
Old version:
Class name: Storage;
Method or attribute name: delete(key: string): Promise<void>;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: clearSync(): void;
Old version:
Class name: Storage;
Method or attribute name: clearSync(): void;
New version: 9
Substitute API: ohos.preferences.preferences.clear
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: clear(callback: AsyncCallback<void>): void;
Old version:
Class name: Storage;
Method or attribute name: clear(callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: clear(): Promise<void>;
Old version:
Class name: Storage;
Method or attribute name: clear(): Promise<void>;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: flushSync(): void;
Old version:
Class name: Storage;
Method or attribute name: flushSync(): void;
New version: 9
Substitute API: ohos.preferences.preferences.flush
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: flush(callback: AsyncCallback<void>): void;
Old version:
Class name: Storage;
Method or attribute name: flush(callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: flush(): Promise<void>;
Old version:
Class name: Storage;
Method or attribute name: flush(): Promise<void>;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: on(type: ‘change’, callback: Callback<StorageObserver>): void;
Old version:
Class name: Storage;
Method or attribute name: on(type: ‘change’, callback: Callback<StorageObserver>): void;
New version: 9
Substitute API: ohos.preferences.preferences.on
@ohos.data.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: off(type: ‘change’, callback: Callback<StorageObserver>): void;
Old version:
Class name: Storage;
Method or attribute name: off(type: ‘change’, callback: Callback<StorageObserver>): void;
New version: 9
Substitute API: ohos.preferences.preferences.off
@ohos.data.storage.d.ts
Deprecated version changed Class name: StorageObserver;
Method or attribute name: interface StorageObserver
Old version:
Class name: StorageObserver;
Method or attribute name: interface StorageObserver
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: StorageObserver;
Method or attribute name: key: string;
Old version:
Class name: StorageObserver;
Method or attribute name: key: string;
New version: 9
Substitute API: ohos.preferences.preferences
@ohos.data.storage.d.ts
Deprecated version changed Class name: GetStorageOptions;
Method or attribute name: export interface GetStorageOptions
Old version:
Class name: GetStorageOptions;
Method or attribute name: export interface GetStorageOptions
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: GetStorageOptions;
Method or attribute name: key: string;
Old version:
Class name: GetStorageOptions;
Method or attribute name: key: string;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: SetStorageOptions;
Method or attribute name: key: string;
Old version:
Class name: SetStorageOptions;
Method or attribute name: key: string;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: DeleteStorageOptions;
Method or attribute name: key: string;
Old version:
Class name: DeleteStorageOptions;
Method or attribute name: key: string;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: GetStorageOptions;
Method or attribute name: default?: string;
Old version:
Class name: GetStorageOptions;
Method or attribute name: default?: string;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: GetStorageOptions;
Method or attribute name: success?: (data: any) => void;
Old version:
Class name: GetStorageOptions;
Method or attribute name: success?: (data: any) => void;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: GetStorageOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version:
Class name: GetStorageOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: SetStorageOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version:
Class name: SetStorageOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: ClearStorageOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version:
Class name: ClearStorageOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: DeleteStorageOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version:
Class name: DeleteStorageOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: GetStorageOptions;
Method or attribute name: complete?: () => void;
Old version:
Class name: GetStorageOptions;
Method or attribute name: complete?: () => void;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: SetStorageOptions;
Method or attribute name: complete?: () => void;
Old version:
Class name: SetStorageOptions;
Method or attribute name: complete?: () => void;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: ClearStorageOptions;
Method or attribute name: complete?: () => void;
Old version:
Class name: ClearStorageOptions;
Method or attribute name: complete?: () => void;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: DeleteStorageOptions;
Method or attribute name: complete?: () => void;
Old version:
Class name: DeleteStorageOptions;
Method or attribute name: complete?: () => void;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: SetStorageOptions;
Method or attribute name: export interface SetStorageOptions
Old version:
Class name: SetStorageOptions;
Method or attribute name: export interface SetStorageOptions
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: SetStorageOptions;
Method or attribute name: value: string;
Old version:
Class name: SetStorageOptions;
Method or attribute name: value: string;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: SetStorageOptions;
Method or attribute name: success?: () => void;
Old version:
Class name: SetStorageOptions;
Method or attribute name: success?: () => void;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: ClearStorageOptions;
Method or attribute name: success?: () => void;
Old version:
Class name: ClearStorageOptions;
Method or attribute name: success?: () => void;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: DeleteStorageOptions;
Method or attribute name: success?: () => void;
Old version:
Class name: DeleteStorageOptions;
Method or attribute name: success?: () => void;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: ClearStorageOptions;
Method or attribute name: export interface ClearStorageOptions
Old version:
Class name: ClearStorageOptions;
Method or attribute name: export interface ClearStorageOptions
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: DeleteStorageOptions;
Method or attribute name: export interface DeleteStorageOptions
Old version:
Class name: DeleteStorageOptions;
Method or attribute name: export interface DeleteStorageOptions
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: export default class Storage
Old version:
Class name: Storage;
Method or attribute name: export default class Storage
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: static get(options: GetStorageOptions): void;
Old version:
Class name: Storage;
Method or attribute name: static get(options: GetStorageOptions): void;
New version: 6
Substitute API: ohos.preferences.preferences.get
@system.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: static set(options: SetStorageOptions): void;
Old version:
Class name: Storage;
Method or attribute name: static set(options: SetStorageOptions): void;
New version: 6
Substitute API:
@system.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: static clear(options?: ClearStorageOptions): void;
Old version:
Class name: Storage;
Method or attribute name: static clear(options?: ClearStorageOptions): void;
New version: 6
Substitute API: ohos.preferences.preferences.clear
@system.storage.d.ts
Deprecated version changed Class name: Storage;
Method or attribute name: static delete(options: DeleteStorageOptions): void;
Old version:
Class name: Storage;
Method or attribute name: static delete(options: DeleteStorageOptions): void;
New version: 6
Substitute API: ohos.preferences.preferences.delete
@system.storage.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: export interface ResultSet
Old version:
Class name: ResultSet;
Method or attribute name: export interface ResultSet
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: columnNames: Array<string>;
Old version:
Class name: ResultSet;
Method or attribute name: columnNames: Array<string>;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.columnNames
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: columnCount: number;
Old version:
Class name: ResultSet;
Method or attribute name: columnCount: number;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.columnCount
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: rowCount: number;
Old version:
Class name: ResultSet;
Method or attribute name: rowCount: number;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.rowCount
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: rowIndex: number;
Old version:
Class name: ResultSet;
Method or attribute name: rowIndex: number;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.rowIndex
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: isAtFirstRow: boolean;
Old version:
Class name: ResultSet;
Method or attribute name: isAtFirstRow: boolean;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.isAtFirstRow
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: isAtLastRow: boolean;
Old version:
Class name: ResultSet;
Method or attribute name: isAtLastRow: boolean;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.isAtLastRow
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: isEnded: boolean;
Old version:
Class name: ResultSet;
Method or attribute name: isEnded: boolean;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.isEnded
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: isStarted: boolean;
Old version:
Class name: ResultSet;
Method or attribute name: isStarted: boolean;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.isStarted
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: isClosed: boolean;
Old version:
Class name: ResultSet;
Method or attribute name: isClosed: boolean;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.isClosed
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: getColumnIndex(columnName: string): number;
Old version:
Class name: ResultSet;
Method or attribute name: getColumnIndex(columnName: string): number;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.getColumnIndex
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: getColumnName(columnIndex: number): string;
Old version:
Class name: ResultSet;
Method or attribute name: getColumnName(columnIndex: number): string;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.getColumnName
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: goTo(offset: number): boolean;
Old version:
Class name: ResultSet;
Method or attribute name: goTo(offset: number): boolean;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.goTo
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: goToRow(position: number): boolean;
Old version:
Class name: ResultSet;
Method or attribute name: goToRow(position: number): boolean;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.goToRow
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: goToFirstRow(): boolean;
Old version:
Class name: ResultSet;
Method or attribute name: goToFirstRow(): boolean;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.goToFirstRow
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: goToLastRow(): boolean;
Old version:
Class name: ResultSet;
Method or attribute name: goToLastRow(): boolean;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.goToLastRow
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: goToNextRow(): boolean;
Old version:
Class name: ResultSet;
Method or attribute name: goToNextRow(): boolean;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.goToNextRow
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: goToPreviousRow(): boolean;
Old version:
Class name: ResultSet;
Method or attribute name: goToPreviousRow(): boolean;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.goToPreviousRow
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: getBlob(columnIndex: number): Uint8Array;
Old version:
Class name: ResultSet;
Method or attribute name: getBlob(columnIndex: number): Uint8Array;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.getBlob
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: getString(columnIndex: number): string;
Old version:
Class name: ResultSet;
Method or attribute name: getString(columnIndex: number): string;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.getString
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: getLong(columnIndex: number): number;
Old version:
Class name: ResultSet;
Method or attribute name: getLong(columnIndex: number): number;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.getLong
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: getDouble(columnIndex: number): number;
Old version:
Class name: ResultSet;
Method or attribute name: getDouble(columnIndex: number): number;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.getDouble
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: isColumnNull(columnIndex: number): boolean;
Old version:
Class name: ResultSet;
Method or attribute name: isColumnNull(columnIndex: number): boolean;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.isColumnNull
resultSet.d.ts
Deprecated version changed Class name: ResultSet;
Method or attribute name: close(): void;
Old version:
Class name: ResultSet;
Method or attribute name: close(): void;
New version: 9
Substitute API: ohos.data.relationalStore.ResultSet.close
resultSet.d.ts
Error code added Class name: Query;
Method or attribute name: deviceId(deviceId: string): Query;
Old version:
Class name: Query;
Method or attribute name: deviceId(deviceId: string): Query;
New version: Throws
@ohos.data.distributedData.d.ts
Error code added Class name: RdbPredicates;
Method or attribute name: isNotNull(field: string): RdbPredicates;
Old version:
Class name: RdbPredicates;
Method or attribute name: isNotNull(field: string): RdbPredicates;
New version: 401
@ohos.data.rdb.d.ts
Permission changed Class name: DistributedObject;
Method or attribute name: setSessionId(sessionId?: string): boolean;
Old version:
Class name: DistributedObject;
Method or attribute name: setSessionId(sessionId?: string): boolean;
New version: ohos.permission.DISTRIBUTED_DATASYNC
@ohos.data.distributedDataObject.d.ts
Permission changed Class name: SubscribeType;
Method or attribute name: enum SubscribeType
Old version:
Class name: SubscribeType;
Method or attribute name: enum SubscribeType
New version: ohos.permission.DISTRIBUTED_DATASYNC
@ohos.data.rdb.d.ts
Permission changed Class name: RdbStore;
Method or attribute name: setDistributedTables(tables: Array<string>, callback: AsyncCallback<void>): void;
Old version:
Class name: RdbStore;
Method or attribute name: setDistributedTables(tables: Array<string>, callback: AsyncCallback<void>): void;
New version: ohos.permission.DISTRIBUTED_DATASYNC
@ohos.data.rdb.d.ts
Permission changed Class name: RdbStore;
Method or attribute name: setDistributedTables(tables: Array<string>): Promise<void>;
Old version:
Class name: RdbStore;
Method or attribute name: setDistributedTables(tables: Array<string>): Promise<void>;
New version: ohos.permission.DISTRIBUTED_DATASYNC
@ohos.data.rdb.d.ts
Permission changed Class name: RdbStore;
Method or attribute name: obtainDistributedTableName(device: string, table: string, callback: AsyncCallback<string>): void;
Old version:
Class name: RdbStore;
Method or attribute name: obtainDistributedTableName(device: string, table: string, callback: AsyncCallback<string>): void;
New version: ohos.permission.DISTRIBUTED_DATASYNC
@ohos.data.rdb.d.ts
Permission changed Class name: RdbStore;
Method or attribute name: obtainDistributedTableName(device: string, table: string): Promise<string>;
Old version:
Class name: RdbStore;
Method or attribute name: obtainDistributedTableName(device: string, table: string): Promise<string>;
New version: ohos.permission.DISTRIBUTED_DATASYNC
@ohos.data.rdb.d.ts
Permission changed Class name: RdbStore;
Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicates, callback: AsyncCallback<Array<[ string, number ]>>): void;
Old version:
Class name: RdbStore;
Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicates, callback: AsyncCallback<Array<[ string, number ]>>): void;
New version: ohos.permission.DISTRIBUTED_DATASYNC
@ohos.data.rdb.d.ts
Permission changed Class name: RdbStore;
Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicates): Promise<Array<[ string, number ]>>;
Old version:
Class name: RdbStore;
Method or attribute name: sync(mode: SyncMode, predicates: RdbPredicates): Promise<Array<[ string, number ]>>;
New version: ohos.permission.DISTRIBUTED_DATASYNC
@ohos.data.rdb.d.ts
Model changed Class name: GetStorageOptions;
Method or attribute name: export interface GetStorageOptions
Old version:
Class name: GetStorageOptions;
Method or attribute name: export interface GetStorageOptions
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: GetStorageOptions;
Method or attribute name: key: string;
Old version:
Class name: GetStorageOptions;
Method or attribute name: key: string;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: SetStorageOptions;
Method or attribute name: key: string;
Old version:
Class name: SetStorageOptions;
Method or attribute name: key: string;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: DeleteStorageOptions;
Method or attribute name: key: string;
Old version:
Class name: DeleteStorageOptions;
Method or attribute name: key: string;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: GetStorageOptions;
Method or attribute name: default?: string;
Old version:
Class name: GetStorageOptions;
Method or attribute name: default?: string;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: GetStorageOptions;
Method or attribute name: success?: (data: any) => void;
Old version:
Class name: GetStorageOptions;
Method or attribute name: success?: (data: any) => void;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: GetStorageOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version:
Class name: GetStorageOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: SetStorageOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version:
Class name: SetStorageOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: ClearStorageOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version:
Class name: ClearStorageOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: DeleteStorageOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
Old version:
Class name: DeleteStorageOptions;
Method or attribute name: fail?: (data: string, code: number) => void;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: GetStorageOptions;
Method or attribute name: complete?: () => void;
Old version:
Class name: GetStorageOptions;
Method or attribute name: complete?: () => void;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: SetStorageOptions;
Method or attribute name: complete?: () => void;
Old version:
Class name: SetStorageOptions;
Method or attribute name: complete?: () => void;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: ClearStorageOptions;
Method or attribute name: complete?: () => void;
Old version:
Class name: ClearStorageOptions;
Method or attribute name: complete?: () => void;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: DeleteStorageOptions;
Method or attribute name: complete?: () => void;
Old version:
Class name: DeleteStorageOptions;
Method or attribute name: complete?: () => void;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: SetStorageOptions;
Method or attribute name: export interface SetStorageOptions
Old version:
Class name: SetStorageOptions;
Method or attribute name: export interface SetStorageOptions
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: SetStorageOptions;
Method or attribute name: value: string;
Old version:
Class name: SetStorageOptions;
Method or attribute name: value: string;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: SetStorageOptions;
Method or attribute name: success?: () => void;
Old version:
Class name: SetStorageOptions;
Method or attribute name: success?: () => void;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: ClearStorageOptions;
Method or attribute name: success?: () => void;
Old version:
Class name: ClearStorageOptions;
Method or attribute name: success?: () => void;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: DeleteStorageOptions;
Method or attribute name: success?: () => void;
Old version:
Class name: DeleteStorageOptions;
Method or attribute name: success?: () => void;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: ClearStorageOptions;
Method or attribute name: export interface ClearStorageOptions
Old version:
Class name: ClearStorageOptions;
Method or attribute name: export interface ClearStorageOptions
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: DeleteStorageOptions;
Method or attribute name: export interface DeleteStorageOptions
Old version:
Class name: DeleteStorageOptions;
Method or attribute name: export interface DeleteStorageOptions
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: Storage;
Method or attribute name: export default class Storage
Old version:
Class name: Storage;
Method or attribute name: export default class Storage
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: Storage;
Method or attribute name: static get(options: GetStorageOptions): void;
Old version:
Class name: Storage;
Method or attribute name: static get(options: GetStorageOptions): void;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: Storage;
Method or attribute name: static set(options: SetStorageOptions): void;
Old version:
Class name: Storage;
Method or attribute name: static set(options: SetStorageOptions): void;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: Storage;
Method or attribute name: static clear(options?: ClearStorageOptions): void;
Old version:
Class name: Storage;
Method or attribute name: static clear(options?: ClearStorageOptions): void;
New version: FAModelOnly
@system.storage.d.ts
Model changed Class name: Storage;
Method or attribute name: static delete(options: DeleteStorageOptions): void;
Old version:
Class name: Storage;
Method or attribute name: static delete(options: DeleteStorageOptions): void;
New version: FAModelOnly
@system.storage.d.ts
Function changed Class name: KVStore;
Method or attribute name: off(event:‘dataChange’, observer?: Callback<ChangeNotification>): void;
Class name: KVStore;
Method or attribute name: off(event: ‘dataChange’, listener?: Callback<ChangeNotification>): void;
@ohos.data.distributedData.d.ts
Function changed Class name: KVStore;
Method or attribute name: off(event:‘dataChange’, observer?: Callback<ChangeNotification>): void;
Class name: KVStore;
Method or attribute name: off(event: ‘syncComplete’, syncCallback?: Callback<Array<[string, number]>>): void;
@ohos.data.distributedData.d.ts
Function changed Class name: SingleKVStore;
Method or attribute name: sync(deviceIdList: string[], mode: SyncMode, allowedDelayMs?: number): void;
Class name: SingleKVStore;
Method or attribute name: sync(deviceIds: string[], mode: SyncMode, delayMs?: number): void;
@ohos.data.distributedData.d.ts
Function changed Class name: DeviceKVStore;
Method or attribute name: sync(deviceIdList: string[], mode: SyncMode, allowedDelayMs?: number): void;
Class name: DeviceKVStore;
Method or attribute name: sync(deviceIds: string[], mode: SyncMode, delayMs?: number): void;
@ohos.data.distributedData.d.ts
Function changed Class name: RdbStore;
Method or attribute name: insert(name: string, values: ValuesBucket, callback: AsyncCallback<number>): void;
Class name: RdbStore;
Method or attribute name: insert(table: string, values: ValuesBucket, callback: AsyncCallback<number>): void;
@ohos.data.rdb.d.ts
Function changed Class name: RdbStore;
Method or attribute name: insert(name: string, values: ValuesBucket): Promise<number>;
Class name: RdbStore;
Method or attribute name: insert(table: string, values: ValuesBucket): Promise<number>;
@ohos.data.rdb.d.ts
Function changed Class name: RdbStore;
Method or attribute name: update(values: ValuesBucket, rdbPredicates: RdbPredicates, callback: AsyncCallback<number>): void;
Class name: RdbStore;
Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicates, callback: AsyncCallback<number>): void;
@ohos.data.rdb.d.ts
Function changed Class name: RdbStore;
Method or attribute name: update(values: ValuesBucket, rdbPredicates: RdbPredicates): Promise<number>;
Class name: RdbStore;
Method or attribute name: update(values: ValuesBucket, predicates: RdbPredicates): Promise<number>;
@ohos.data.rdb.d.ts
Function changed Class name: RdbStore;
Method or attribute name: delete(rdbPredicates: RdbPredicates, callback: AsyncCallback<number>): void;
Class name: RdbStore;
Method or attribute name: delete(predicates: RdbPredicates, callback: AsyncCallback<number>): void;
@ohos.data.rdb.d.ts
Function changed Class name: RdbStore;
Method or attribute name: delete(rdbPredicates: RdbPredicates): Promise<number>;
Class name: RdbStore;
Method or attribute name: delete(predicates: RdbPredicates): Promise<number>;
@ohos.data.rdb.d.ts
Function changed Class name: RdbStore;
Method or attribute name: query(rdbPredicates: RdbPredicates, columns: Array<string>, callback: AsyncCallback<ResultSet>): void;
Class name: RdbStore;
Method or attribute name: query(predicates: RdbPredicates, columns: Array<string>, callback: AsyncCallback<ResultSet>): void;
@ohos.data.rdb.d.ts
Function changed Class name: RdbStore;
Method or attribute name: query(rdbPredicates: RdbPredicates, columns?: Array<string>): Promise<ResultSet>;
Class name: RdbStore;
Method or attribute name: query(predicates: RdbPredicates, columns ?: Array<string>): Promise<ResultSet>;
@ohos.data.rdb.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

0  赞