harmony(鸿蒙)JS API 差异报告

2022-08-09 浏览 (778)

JS API 差异报告

OpenHarmony 3.0 LTS相较于OpenHarmony 2.2 Beta2版本的API变更如下:

标准系统接口变更

模块名称接口名称变更类型变更说明
语言编译器运行时-workerpostMessage(obj):void新增宿主线程与worker通信,传递数据
语言编译器运行时-workerpostMessage(message: Object, options?: PostMessageOptions):void新增宿主线程与worker通信,转移arrayBuffer的数据控制权
语言编译器运行时-workerterminate():void新增宿主线程主动停止worker
语言编译器运行时-workeron(type: string, listener: EventListener): void新增向worker添加回调接口
语言编译器运行时-workeronce(type: string, listener: EventListener): void新增向worker添加回调接口,并且在回调一次会释放回调
语言编译器运行时-workeroff(type: string, listener?: EventListener): void新增删除worker已添加的回调接口
语言编译器运行时-workeraddEventListener(type: string, listener: EventListener): void新增向worker添加回调接口
语言编译器运行时-workerremoveEventListener(type: string, listener?: EventListener): void新增删除worker已添加的回调接口
语言编译器运行时-workerremoveAllListener(): void新增删除worker所有的回调接口
语言编译器运行时-workerdispatchEvent(event: Event): boolean新增向worker发送指定事件,触发回调接口
语言编译器运行时-parentPortpostMessage(obj):void新增worker与宿主线程通信,传递数据
语言编译器运行时-parentPortpostMessage(message: Object, options?: PostMessageOptions):void新增worker与宿主线程通信,转移arrayBuffer的数据控制权
语言编译器运行时-parentPortclose(): void新增worker主动终止
语言编译器运行时-Utilprintf(format: string, ...args: Object[]): string新增-
语言编译器运行时-UtilgetErrorString(errno: number): string新增-
语言编译器运行时-UtilcallbackWrapper(original: Function): (err: Object, value: Object) => void新增-
语言编译器运行时-UtilpromiseWrapper(original: (err: Object, value: Object) => void): Object新增-
语言编译器运行时-Utilnew TextDecoder([encoding[, options]])新增-
语言编译器运行时-Utildecode([input[, options]]):string新增-
语言编译器运行时-Utilnew TextEncoder()新增-
语言编译器运行时-Utilencode(input?: string): Uint8Array;新增-
语言编译器运行时-Util"encodeInto(input: string,dest: Uint8Array,): { read: number; written: number };"新增-
语言编译器运行时-Utilreadonly encoding: string;新增-
语言编译器运行时-Utilreadonly fatal: boolean;新增-
语言编译器运行时-Utilreadonly ignoreBOM = false;新增-
语言编译器运行时-Utilreadonly encoding = "utf-8";新增-
语言编译器运行时-URLnew URL(url: string, base?: string/URL)新增-
语言编译器运行时-URLtoString(): string;新增-
语言编译器运行时-URLtoJSON(): string;新增-
语言编译器运行时-URLnew URSearchParams()新增-
语言编译器运行时-URLnew URSearchParams(string)新增-
语言编译器运行时-URLnew URSearchParams(obj)新增-
语言编译器运行时-URLnew URSearchParams(iterable)新增-
语言编译器运行时-URLappend(name: string, value: string): void;新增-
语言编译器运行时-URLdelete(name: string): void;新增-
语言编译器运行时-URLentries(): IterableIterator<[string, string]>;新增-
语言编译器运行时-URLforEach(callbackfn: (value: string, key: string, parent: this) => void, thisArg?: any,): void;新增-
语言编译器运行时-URLget(name: string): string / null;新增-
语言编译器运行时-URLgetAll(name: string): string[];新增-
语言编译器运行时-URLhas(name: string): boolean;新增-
语言编译器运行时-URLkeys(): IterableIterator<string>;新增-
语言编译器运行时-URLset(name: string, value: string): void;新增-
语言编译器运行时-URLsort():void;新增-
语言编译器运行时-URLtoString():string新增-
语言编译器运行时-URLvalues(): IterableIterator<string>;新增-
语言编译器运行时-URLURSearchParams[Symbol.iterator]()新增-
语言编译器运行时-URLhash: string;新增-
语言编译器运行时-URLhost: string;新增-
语言编译器运行时-URLhostname: string;新增-
语言编译器运行时-URLhref: string;新增-
语言编译器运行时-URLreadonly origin: string;新增-
语言编译器运行时-URLpassword: string;新增-
语言编译器运行时-URLpathname: string;新增-
语言编译器运行时-URLport: string;新增-
语言编译器运行时-URLprotocol: string;新增-
语言编译器运行时-URLsearch: string;新增-
语言编译器运行时-URLreadonly searchParams: URLSearchParams;新增-
语言编译器运行时-URLusername: string;新增-
语言编译器运行时-ChildProcessreadonly pid: number;新增-
语言编译器运行时-ChildProcessreadonly ppid: number;新增-
语言编译器运行时-ChildProcessreadonly exitCode: number;新增-
语言编译器运行时-ChildProcessreadonly killed: boolean;新增-
语言编译器运行时-ChildProcesswait(): Promise<number>;新增-
语言编译器运行时-ChildProcessgetOutput(): Promise<Uint8Array>;新增-
语言编译器运行时-ChildProcessgetErrorOutput(): Promise<Uint8Array>;新增-
语言编译器运行时-ChildProcessclose(): void;新增-
语言编译器运行时-ChildProcesskill(signal: number): void;新增-
语言编译器运行时-processrunCmd(command: string,options?: { timeout : number, killSignal : number string, maxBuffer : number }): ChildProcess;新增-
语言编译器运行时-processgetPid(): number;新增-
语言编译器运行时-processgetPpid(): number;新增-
语言编译器运行时-processabort(): void;新增-
语言编译器运行时-processon(type: string, listener: EventListener): void;新增-
语言编译器运行时-processexit(code?:number): void;新增-
语言编译器运行时-processcwd(): string;新增-
语言编译器运行时-processchdir(dir: string): void;新增-
语言编译器运行时-processgetEgid(): number;新增-
语言编译器运行时-processgetEuid(): number;新增-
语言编译器运行时-processgetGid(): number新增-
语言编译器运行时-processgetUid(): number;新增-
语言编译器运行时-processuptime(): number;新增-
语言编译器运行时-processgetGroups(): number[];新增-
语言编译器运行时-processkill(signal?: number, pid?: number): boolean;新增-
升级服务子系统-UpdatercheckNewVersion(): Promise<NewVersionInfo>;新增-
升级服务子系统-UpdaterrebootAndCleanUserData(callback: AsyncCallback<number>): void;新增-
升级服务子系统-UpdaterrebootAndCleanCache(): Promise<number>;新增-
升级服务子系统-UpdatergetUpdaterFromOther(device: string, updateType?: UpdateTypes): Updater;新增-
升级服务子系统-Updatercancel(): void;新增-
升级服务子系统-Updaterupgrade(): void;新增-
升级服务子系统-Updateroff(eventType: 'downloadProgress', callback?: UpdateProgressCallback): void;新增-
升级服务子系统-UpdatergetUpdatePolicy(callback: AsyncCallback<UpdatePolicy>): void;新增-
升级服务子系统-UpdatergetUpdaterForOther(device: string, updateType?: UpdateTypes): Updater;新增-
升级服务子系统-UpdatersetUpdatePolicy(policy: UpdatePolicy, callback: AsyncCallback<number>): void;新增-
升级服务子系统-UpdatergetNewVersionInfo(): Promise<NewVersionInfo>;新增-
升级服务子系统-UpdatergetUpdater(updateType?: UpdateTypes): Updater;新增-
升级服务子系统-UpdaterapplyNewVersion(callback: AsyncCallback<number>): void;新增-
升级服务子系统-UpdaterrebootAndCleanUserData(): Promise<number>;新增-
升级服务子系统-Updateroff(eventType: 'verifyProgress', callback?: UpdateProgressCallback): void;新增-
升级服务子系统-Updateron(eventType: 'upgradeProgress', callback: UpdateProgressCallback): void;新增-
升级服务子系统-UpdatercheckNewVersion(callback: AsyncCallback<NewVersionInfo>): void;新增-
升级服务子系统-Updateron(eventType: 'downloadProgress', callback: UpdateProgressCallback): void;新增-
升级服务子系统-UpdatergetUpdatePolicy(): Promise<UpdatePolicy>;新增-
升级服务子系统-Updaterdownload(): void;新增-
升级服务子系统-Updateroff(eventType: 'upgradeProgress', callback?: UpdateProgressCallback): void;新增-
升级服务子系统-UpdatergetNewVersionInfo(callback: AsyncCallback<NewVersionInfo>): void;新增-
升级服务子系统-Updateron(eventType: 'verifyProgress', callback: UpdateProgressCallback): void;新增-
升级服务子系统-UpdaterverifyUpdatePackage(upgradeFile: string, certsFile: string): void;新增-
升级服务子系统-UpdatersetUpdatePolicy(policy: UpdatePolicy): Promise<number>;新增-
升级服务子系统-UpdaterrebootAndCleanCache(callback: AsyncCallback<number>): void;新增-
升级服务子系统-UpdaterapplyNewVersion(): Promise<number>;新增-
全球化子系统-I18ngetSystemLanguages(): Array<string>;新增-
全球化子系统-I18ngetSystemCountries(language: string): Array<string>;新增-
全球化子系统-I18nisSuggested(language: string, region?: string): boolean;新增-
全球化子系统-I18ngetSystemLanguage(): string;新增-
全球化子系统-I18nsetSystemLanguage(language: string);新增-
全球化子系统-I18ngetSystemRegion(): string;新增-
全球化子系统-I18nsetSystemRegion(region: string);新增-
全球化子系统-I18n"getDisplayCountry(locale: string, displayLocale: string,sentenceCase?: boolean): string;"新增-
全球化子系统-I18ngetSystemLocale(): string;新增-
全球化子系统-I18nsetSystemLocale(locale: string);新增-
全球化子系统-I18n"getDisplayLanguage(locale: string, displayLocale: string,sentenceCase?: boolean): string;"新增-
电话子系统-radiogetNetworkState(callback: AsyncCallback<NetworkState>): void;
getNetworkState(slotId: number, callback: AsyncCallback<NetworkState>): void;
getNetworkState(slotId?: number): Promise<NetworkState>;
新增-
电话子系统-simgetSimAccountInfo(slotId: number, callback: AsyncCallback<IccAccountInfo>): void;
getSimAccountInfo(slotId: number): Promise<IccAccountInfo>;
新增-
电话子系统-simgetDefaultVoiceSlotId(callback: AsyncCallback<number>): void;
getDefaultVoiceSlotId(): Promise<number>;
新增-
电话子系统-simgetSimSpn(slotId: number, callback: AsyncCallback<string>): void;
getSimSpn(slotId: number): Promise<string>;
新增-
电话子系统-simgetISOCountryCodeForSim(slotId: number, callback: AsyncCallback<string>): void;
getISOCountryCodeForSim(slotId: number): Promise<string>;
新增-
电话子系统-simgetSimIccId(slotId: number, callback: AsyncCallback<string>): void;
getSimIccId(slotId: number): Promise<string>;
新增-
电话子系统-simgetSimGid1(slotId: number, callback: AsyncCallback<string>): void;
getSimGid1(slotId: number): Promise<string>;
新增-
电话子系统-simgetISOCountryCodeForSim(slotId: number, callback: AsyncCallback<string>): void;
getISOCountryCodeForSim(slotId: number): Promise<string>;
新增-
电话子系统-simgetSimOperatorNumeric(slotId: number, callback: AsyncCallback<string>): void;
getSimOperatorNumeric(slotId: number): Promise<string>;
新增-
电话子系统-simgetSimSpn(slotId: number, callback: AsyncCallback<string>): void;
getSimSpn(slotId: number): Promise<string>;
新增-
电话子系统-simgetSimIccId(slotId: number, callback: AsyncCallback<string>): void;
getSimIccId(slotId: number): Promise<string>;
新增-
电话子系统-simgetIMSI(slotId: number, callback: AsyncCallback<string>): void;
getIMSI(slotId: number): Promise<string>;
新增-
电话子系统-callcombineConference(callId: number, callback: AsyncCallback<void>): void;
combineConference(callId: number): Promise<void>;
新增-
电话子系统-callstartDTMF(callId: number, character: string, callback: AsyncCallback<void>): void;
startDTMF(callId: number, character: string): Promise<void>;
新增-
电话子系统-callstopDTMF(callId: number, callback: AsyncCallback<void>): void;
stopDTMF(callId: number): Promise<void>;
新增-
电话子系统-simsetDefaultVoiceSlotId(slotId: number, callback: AsyncCallback<void>): void;
setDefaultVoiceSlotId(slotId: number): Promise<void>;
新增-
电话子系统-simunlockPin(slotId: number, pin: string, callback: AsyncCallback<LockStatusResponse>): void;
unlockPin(slotId: number, pin: string): Promise<LockStatusResponse>;
新增-
电话子系统-simalterPin(slotId: number, newPin: string, oldPin: string, callback: AsyncCallback<LockStatusResponse>): void;
alterPin(slotId: number, newPin: string, oldPin: string): Promise<LockStatusResponse>;
新增-
电话子系统-simsetLockState(slotId: number, pin: string, enable: number, callback: AsyncCallback<LockStatusResponse>): void;
setLockState(slotId: number, pin: string, enable: number): Promise<LockStatusResponse>;
新增-
电话子系统-simgetSimState(slotId: number, callback: AsyncCallback<SimState>): void;
getSimState(slotId: number): Promise<SimState>;
新增-
电话子系统-simgetSimState(slotId: number, callback: AsyncCallback<SimState>): void;
getSimState(slotId: number): Promise<SimState>;
新增-
电话子系统-simgetSimState(slotId: number, callback: AsyncCallback<SimState>): void;
getSimState(slotId: number): Promise<SimState>;
新增-
电话子系统-simgetSimState(slotId: number, callback: AsyncCallback<SimState>): void;
getSimState(slotId: number): Promise<SimState>;
新增-
电话子系统-callisEmergencyPhoneNumber(phoneNumber: string, callback: AsyncCallback<boolean>): void;
isEmergencyPhoneNumber(phoneNumber: string, options: EmergencyNumberOptions, callback: AsyncCallback<boolean>): void;
isEmergencyPhoneNumber(phoneNumber: string, options?: EmergencyNumberOptions): Promise<boolean>;
新增-
电话子系统-smscreateMessage(pdu: Array<number>, specification: string, callback: AsyncCallback<ShortMessage>): void;
createMessage(pdu: Array<number>, specification: string): Promise<ShortMessage>;
新增-
电话子系统-callhasCall(callback: AsyncCallback<boolean>): void;
hasCall(): Promise<boolean>;
新增-
电话子系统-smssendMessage(options: SendMessageOptions): void;新增-
电话子系统-calldial(phoneNumber: string, callback: AsyncCallback<boolean>): void;
dial(phoneNumber: string, options: DialOptions, callback: AsyncCallback<boolean>): void;
dial(phoneNumber: string, options?: DialOptions): Promise<boolean>;
新增-
电话子系统-callinterface DialOptions {extras?: boolean; }新增-
电话子系统-smssendMessage(options: SendMessageOptions): void;新增-
电话子系统-smsgetDefaultSmsSlotId(callback: AsyncCallback<number>): void;
getDefaultSmsSlotId(): Promise<number>;
新增-
电话子系统-callformatPhoneNumber(phoneNumber: string, callback: AsyncCallback<string>): void;
formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback<string>): void;
formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise<string>;
新增-
电话子系统-callformatPhoneNumber(phoneNumber: string, callback: AsyncCallback<string>): void;
formatPhoneNumber(phoneNumber: string, options: NumberFormatOptions, callback: AsyncCallback<string>): void;
formatPhoneNumber(phoneNumber: string, options?: NumberFormatOptions): Promise<string>;
新增-
电话子系统-callformatPhoneNumberToE164(phoneNumber: string, countryCode: string, callback: AsyncCallback<string>): void;
formatPhoneNumberToE164(phoneNumber: string, countryCode: string): Promise<string>;
新增-
电话子系统-smssetDefaultSmsSlotId(slotId: number, callback: AsyncCallback<void>): void;
setDefaultSmsSlotId(slotId: number): Promise<void>;
新增-
电话子系统-callgetCallState(callback: AsyncCallback<CallState>): void;
getCallState(): Promise<CallState>;
新增-
电话子系统-smssetSmscAddr(slotId: number, smscAddr: string, callback: AsyncCallback<void>): void;
setSmscAddr(slotId: number, smscAddr: string): Promise<void>;
新增-
电话子系统-smsgetSmscAddr(slotId: number, callback: AsyncCallback<string>): void;
getSmscAddr(slotId: number): Promise<string>;
新增-
电话子系统-smsaddSimMessage(options: SimMessageOptions, callback: AsyncCallback<void>): void;
addSimMessage(options: SimMessageOptions): Promise<void>;
新增-
电话子系统-smsdelSimMessage(slotId: number, msgIndex: number, callback: AsyncCallback<void>): void;
delSimMessage(slotId: number, msgIndex: number): Promise<void>;
新增-
电话子系统-radiogetISOCountryCodeForNetwork(slotId: number, callback: AsyncCallback<string>): void;
getISOCountryCodeForNetwork(slotId: number): Promise<string>;
新增-
电话子系统-smsupdateSimMessage(options: UpdateSimMessageOptions, callback: AsyncCallback<void>): void;
updateSimMessage(options: UpdateSimMessageOptions): Promise<void>;
新增-
电话子系统-radiogetISOCountryCodeForNetwork(slotId: number, callback: AsyncCallback<string>): void;
getISOCountryCodeForNetwork(slotId: number): Promise<string>;
新增-
电话子系统-smsgetAllSimMessages(slotId: number, callback: AsyncCallback<Array<SimShortMessage>>): void;
getAllSimMessages(slotId: number): Promise<Array<SimShortMessage>>;
新增-
电话子系统-callisInEmergencyCall(callback: AsyncCallback<boolean>): void;
isInEmergencyCall(): Promise<boolean>;
新增-
电话子系统-smssetCBConfig(options: CBConfigOptions, callback: AsyncCallback<void>): void;
setCBConfig(options: CBConfigOptions): Promise<void>;
新增-
电话子系统-callanswer(callId: number, callback: AsyncCallback<void>): void;
answer(callId: number): Promise<void>;
新增-
电话子系统-callhangup(callId: number, callback: AsyncCallback<void>): void;
hangup(callId: number): Promise<void>;
新增-
电话子系统-callreject(callId: number, callback: AsyncCallback<void>): void;
reject(callId: number, options: RejectMessageOptions, callback: AsyncCallback<void>): void;
reject(callId: number, options?: RejectMessageOptions): Promise<void>;
新增-
电话子系统-callholdCall(callId: number, callback: AsyncCallback<void>): void;
holdCall(callId: number): Promise<void>;
新增-
电话子系统-callunHoldCall(callId: number, callback: AsyncCallback<void>): void;
unHoldCall(callId: number): Promise<void>;
新增-
电话子系统-callswitchCall(callId: number, callback: AsyncCallback<void>): void;
switchCall(callId: number): Promise<void>;
新增-
电话子系统-radiosetNetworkSelectionMode(options: NetworkSelectionModeOptions, callback: AsyncCallback<void>): void;
setNetworkSelectionMode(options: NetworkSelectionModeOptions): Promise<void>;
新增-
电话子系统-radiogetNetworkSearchInformation(slotId: number, callback: AsyncCallback<NetworkSearchResult>): void;
getNetworkSearchInformation(slotId: number): Promise<NetworkSearchResult>;
新增-
电话子系统-radiogetNetworkSelectionMode(slotId: number, callback: AsyncCallback<NetworkSelectionMode>): void;
getNetworkSelectionMode(slotId: number): Promise<NetworkSelectionMode>;
新增-
电话子系统-radioisRadioOn(callback: AsyncCallback<boolean>): void;
isRadioOn(): Promise<boolean>;
新增-
电话子系统-radioturnOnRadio(callback: AsyncCallback<void>): void;
turnOnRadio(): Promise<void>;
新增-
电话子系统-radioturnOffRadio(callback: AsyncCallback<void>): void;
turnOffRadio(): Promise<void>;
新增-
电话子系统-radiogetSignalInformation(slotId: number, callback: AsyncCallback<Array<SignalInformation>>): void;
getSignalInformation(slotId: number): Promise<Array<SignalInformation>>;
新增-
电话子系统-radiogetRadioTech(slotId: number, callback: AsyncCallback<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>): void;
getRadioTech(slotId: number): Promise<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;
新增-
电话子系统-radiogetRadioTech(slotId: number, callback: AsyncCallback<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>): void;
getRadioTech(slotId: number): Promise<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;
新增-
电话子系统-radiogetRadioTech(slotId: number, callback: AsyncCallback<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>): void;
getRadioTech(slotId: number): Promise<{psRadioTech: RadioTechnology, csRadioTech: RadioTechnology}>;
新增-
数据管理-distributeddataput(key:string, value:Uint8Array / string / boolean / number, callback: AsyncCallback<void>):void put(key:string, value:Uint8Array / string / boolean / number):Promise<void>新增-
数据管理-distributeddatadelete(key: string, callback: AsyncCallback<void>): void delete(key: string): Promise<void>新增-
数据管理-distributeddataon(event:'dataChange', subType: SubscribeType, observer: Callback<ChangeNotification>): void新增-
数据管理-distributeddataget(key:string, callback:AsyncCallback<Uint8Array / string / boolean / number>):void get(key:string):Promise<Uint8Array / string / boolean / number>新增-
数据管理-distributeddatasync(deviceIdList:string[], mode:SyncMode, allowedDelayMs?:number):void新增-
数据管理-distributeddatacreateKVManager(config: KVManagerConfig, callback: AsyncCallback<KVManager>): void;
createKVManager(config: KVManagerConfig): Promise<KVManager>;
新增-
数据管理-distributeddatagetKVStore<T extends KVStore>(options: Options, storeId: string): Promise<T>;
getKVStore<T extends KVStore>(options: Options, storeId: string, callback: AsyncCallback<T>): void;
新增-
数据管理-distributeddataon(event:'syncComplete', syncCallback: Callback<Array<[string, number]>>):void新增-
数据管理-rdbtype ValueType = number / string / boolean;新增-
数据管理-rdbtype ValuesBucket = { [key: string]: ValueType / Uint8Array / null; }新增-
数据管理-rdbname: string;新增-
数据管理-rdbconstructor(name: string)新增-
数据管理-rdbequalTo(field: string, value: ValueType): RdbPredicates;新增-
数据管理-rdbnotEqualTo(field: string, value: ValueType): RdbPredicates;新增-
数据管理-rdbbeginWrap(): RdbPredicates;新增-
数据管理-rdbendWrap(): RdbPredicates;新增-
数据管理-rdbgetRdbStore(config: StoreConfig, version: number, callback: AsyncCallback<RdbStore>): void;
getRdbStore(config: StoreConfig, version: number): Promise<RdbStore>;
新增-
数据管理-rdbdeleteRdbStore(name: string, callback: AsyncCallback<void>): void;
deleteRdbStore(name: string): Promise<void>;
新增-
数据管理-rdbinsert(name: string, values: ValuesBucket, callback: AsyncCallback<number>): void;
insert(name: string, values: ValuesBucket): Promise<number>;
新增-
数据管理-rdbupdate(values: ValuesBucket, rdbPredicates: RdbPredicates, callback: AsyncCallback<number>): void;
update(values: ValuesBucket, rdbPredicates: RdbPredicates): Promise<number>;
新增-
数据管理-rdbdelete(rdbPredicates: RdbPredicates, callback: AsyncCallback<number>): void;
delete(rdbPredicates: RdbPredicates): Promise<number>;
新增-
数据管理-rdbquery(rdbPredicates: RdbPredicates, columns: Array<string>, callback: AsyncCallback<ResultSet>): void;
query(rdbPredicates: RdbPredicates, columns: Array<string>): Promise<ResultSet>;
新增-
数据管理-rdbexecuteSql(sql: string, bindArgs: Array<ValueType>, callback: AsyncCallback<void>): void;
executeSql(sql: string, bindArgs: Array<ValueType>): Promise<void>;
新增-
数据管理-rdblike(field: string, value: string): RdbPredicates;新增-
数据管理-rdbglob(field: string, value: string): RdbPredicates;新增-
数据管理-rdbbetween(field: string, low: ValueType, high: ValueType): RdbPredicates;新增-
数据管理-rdbnotBetween(field: string, low: ValueType, high: ValueType): RdbPredicates;新增-
数据管理-rdbgreaterThan(field: string, value: ValueType): RdbPredicates;新增-
数据管理-rdblessThan(field: string, value: ValueType): RdbPredicates;新增-
数据管理-rdbgreaterThanOrEqualTo(field: string, value: ValueType): RdbPredicates;新增-
数据管理-rdblessThanOrEqualTo(field: string, value: ValueType): RdbPredicates;新增-
数据管理-rdbor(): RdbPredicates;新增-
数据管理-rdband(): RdbPredicates;新增-
数据管理-rdbcontains(field: string, value: string): RdbPredicates;新增-
数据管理-rdbbeginsWith(field: string, value: string): RdbPredicates;新增-
数据管理-rdbendsWith(field: string, value: string): RdbPredicates;新增-
数据管理-rdbisNull(field: string): RdbPredicates;新增-
数据管理-rdbisNotNull(field: string): RdbPredicates;新增-
数据管理-rdbisEnded: boolean;新增-
数据管理-rdbisStarted: boolean;新增-
数据管理-rdbisClosed: boolean;新增-
数据管理-rdbgetColumnIndex(columnName: string): number;新增-
数据管理-rdbgetColumnName(columnIndex: number): string;新增-
数据管理-rdbgoTo(offset: number): boolean;新增-
数据管理-rdbgoToRow(position: number): boolean;新增-
数据管理-rdbgoToFirstRow(): boolean;新增-
数据管理-rdbgoToLastRow(): boolean;新增-
数据管理-rdbgoToNextRow(): boolean;新增-
数据管理-rdbgoToPreviousRow(): boolean;新增-
数据管理-rdbgetBlob(columnIndex: number): Uint8Array;新增-
数据管理-rdbgetString(columnIndex: number): string;新增-
数据管理-rdbgetLong(columnIndex: number): number;新增-
数据管理-rdbgetDouble(columnIndex: number): number;新增-
数据管理-dataAbilityorderByDesc(field: string): DataAbilityPredicates;新增-
数据管理-dataAbilitydistinct(): DataAbilityPredicates;新增-
数据管理-dataAbilitylimitAs(value: number): DataAbilityPredicates;新增-
数据管理-dataAbilityoffsetAs(rowOffset: number): DataAbilityPredicates;新增-
数据管理-dataAbilitygroupBy(fields: Array<string>): DataAbilityPredicates;新增-
数据管理-dataAbilityindexedBy(field: string): DataAbilityPredicates;新增-
数据管理-dataAbilityin(field: string, value: Array<ValueType>): DataAbilityPredicates;新增-
数据管理-dataAbilitynotIn(field: string, value: Array<ValueType>): DataAbilityPredicates;新增-
数据管理-dataAbilityglob(field: string, value: string): DataAbilityPredicates;新增-
数据管理-dataAbilitybetween(field: string, low: ValueType, high: ValueType): DataAbilityPredicates;新增-
数据管理-dataAbilitynotBetween(field: string, low: ValueType, high: ValueType): DataAbilityPredicates;新增-
数据管理-dataAbilitygreaterThan(field: string, value: ValueType): DataAbilityPredicates;新增-
数据管理-dataAbilitylessThan(field: string, value: ValueType): DataAbilityPredicates;新增-
数据管理-dataAbilitygreaterThanOrEqualTo(field: string, value: ValueType): DataAbilityPredicates;新增-
数据管理-dataAbilitylessThanOrEqualTo(field: string, value: ValueType): DataAbilityPredicates;新增-
数据管理-dataAbilityorderByAsc(field: string): DataAbilityPredicates;新增-
数据管理-rdbisColumnNull(columnIndex: number): boolean;新增-
数据管理-rdbclose(): void;新增-
数据管理-dataAbilitycreateRdbPredicates(name: string, dataAbilityPredicates: DataAbilityPredicates): rdb.RdbPredicates;新增-
数据管理-dataAbilityequalTo(field: string, value: ValueType): DataAbilityPredicates;新增-
数据管理-dataAbilitynotEqualTo(field: string, value: ValueType): DataAbilityPredicates;新增-
数据管理-dataAbilitybeginWrap():DataAbilityPredicates;新增-
数据管理-dataAbilityendWrap(): DataAbilityPredicates;新增-
数据管理-rdborderByAsc(field: string): RdbPredicates;新增-
数据管理-rdborderByDesc(field: string): RdbPredicates;新增-
数据管理-rdbdistinct(): RdbPredicates;新增-
数据管理-rdblimitAs(value: number): RdbPredicates;新增-
数据管理-rdboffsetAs(rowOffset: number): RdbPredicates;新增-
数据管理-rdbgroupBy(fields: Array<string>): RdbPredicates;新增-
数据管理-rdbindexedBy(field: string): RdbPredicates;新增-
数据管理-dataAbilityor(): DataAbilityPredicates;新增-
数据管理-dataAbilityand(): DataAbilityPredicates;新增-
数据管理-dataAbilitycontains(field: string, value: string): DataAbilityPredicates;新增-
数据管理-dataAbilitybeginsWith(field: string, value: string): DataAbilityPredicates;新增-
数据管理-dataAbilityendsWith(field: string, value: string): DataAbilityPredicates;新增-
数据管理-dataAbilityisNull(field: string): DataAbilityPredicates;新增-
数据管理-dataAbilityisNotNull(field: string): DataAbilityPredicates;新增-
数据管理-dataAbilitylike(field: string, value: string): DataAbilityPredicates;新增-
数据管理-rdbin(field: string, value: Array<ValueType>): RdbPredicates;新增-
数据管理-rdbnotIn(field: string, value: Array<ValueType>): RdbPredicates;新增-
数据管理-rdbcolumnNames: Array<string>;新增-
数据管理-rdbcolumnCount: number;新增-
数据管理-rdbrowCount: number;新增-
数据管理-rdbrowIndex: number;新增-
数据管理-rdbisAtFirstRow: boolean;新增-
数据管理-rdbisAtLastRow: boolean;新增-
事件通知-notificationtitle: string;新增-
事件通知-notificationsound?: string;新增-
事件通知-notificationtext: string;新增-
事件通知-notificationvibrationValues?: Array<number>;新增-
事件通知-wantAgentwant?: Want;新增-
事件通知-notificationvibrationEnabled?: boolean;新增-
事件通知-notificationbadgeFlag?: boolean;新增-
事件通知-notificationtype: notification.SlotType;新增-
事件通知-wantAgentcode: number;新增-
事件通知-notificationcontentType: ContentType;新增-
事件通知-notificationpicture: image.PixelMap;新增-
事件通知-notificationbriefText: string;新增-
事件通知-notificationbriefText: string;新增-
事件通知-notificationbriefText: string;新增-
事件通知-notificationbypassDnd?: boolean;新增-
事件通知-notificationadditionalText?: string;新增-
事件通知-wantagentcancel(info: WantAgentInfo, callback: AsyncCallback<void>): void;新增-
事件通知-wantAgentenum OperationType新增-
事件通知-wantAgentenum WantAgentFlags新增-
事件通知-wantAgentpermission?: string;新增-
事件通知-notificationpicture?: NotificationPictureContent;新增-
事件通知-notificationnormal?: NotificationBasicContent;新增-
事件通知-notificationexpandedTitle: string;新增-
事件通知-notificationexpandedTitle: string;新增-
事件通知-wantAgenttrigger(info: WantAgentInfo, triggerInfo: TriggerInfo, callback: AsyncCallback<CompleteData>): void;新增-
事件通知-wantAgentextraInfo?: {[key: string]: any};新增-
事件通知-notificationmultiLine?: NotificationMultiLineContent;新增-
事件通知-notificationlevel?: notification.SlotLevel;新增-
事件通知-notificationlightColor?: number;新增-
事件通知-notificationlightEnabled?: boolean;新增-
事件通知-notificationlines: Array<string>;新增-
事件通知-notificationlockscreenVisibility?: number;新增-
事件通知-notificationlongText: string;新增-
事件通知-wantAgentgetBundleName(info: WantAgentInfo, callback: AsyncCallback<string>): void;新增-
事件通知-notificationlongText?: NotificationLongTextContent;新增-
事件通知-notificationlongTitle: string;新增-
事件通知-wantAgentjudgeEquality(info: WantAgentInfo, info2: WantAgentInfo, callback: AsyncCallback<boolean>): void;新增-
事件通知-wantAgentgetUid(info: WantAgentInfo, callback: AsyncCallback<number>): void;新增-
事件通知-commonEventCOMMON_EVENT_IVI_TEMPERATURE_ABNORMAL = common.event.IVI_TEMPERATURE_ABNORMAL,新增-
事件通知-commonEventCOMMON_EVENT_IVI_VOLTAGE_RECOVERY = common.event.IVI_VOLTAGE_RECOVERY,新增-
事件通知-commonEventCOMMON_EVENT_IVI_TEMPERATURE_RECOVERY = common.event.IVI_TEMPERATURE_RECOVERY,新增-
事件通知-commonEventCOMMON_EVENT_IVI_ACTIVE = common.event.IVI_ACTIVE,新增-
事件通知-commonEventCOMMON_EVENT_USB_DEVICE_ATTACHED = usual.event.hardware.usb.action.USB_DEVICE_ATTACHED,新增-
事件通知-commonEventCOMMON_EVENT_USB_DEVICE_DETACHED = usual.event.hardware.usb.action.USB_DEVICE_DETACHED,新增-
事件通知-commonEventCOMMON_EVENT_IVI_PAUSE = common.event.IVI_PAUSE,新增-
事件通知-commonEventCOMMON_EVENT_IVI_STANDBY = common.event.IVI_STANDBY,新增-
事件通知-commonEventCOMMON_EVENT_IVI_LASTMODE_SAVE = common.event.IVI_LASTMODE_SAVE,新增-
事件通知-commonEventCOMMON_EVENT_IVI_VOLTAGE_ABNORMAL = common.event.IVI_VOLTAGE_ABNORMAL,新增-
事件通知-commonEventCOMMON_EVENT_IVI_HIGH_TEMPERATURE = common.event.IVI_HIGH_TEMPERATURE,新增-
事件通知-commonEventCOMMON_EVENT_IVI_EXTREME_TEMPERATURE = common.event.IVI_EXTREME_TEMPERATURE,新增-
事件通知-commonEventCOMMON_EVENT_DISK_UNMOUNTABLE = usual.event.data.DISK_UNMOUNTABLE,新增-
事件通知-commonEventCOMMON_EVENT_DISK_EJECT = usual.event.data.DISK_EJECT,新增-
事件通知-commonEventCOMMON_EVENT_VISIBLE_ACCOUNTS_UPDATED = usual.event.data.VISIBLE_ACCOUNTS_UPDATED,新增-
事件通知-commonEventCOMMON_EVENT_ACCOUNT_DELETED = usual.event.data.ACCOUNT_DELETED,新增-
事件通知-commonEventCOMMON_EVENT_FOUNDATION_READY = common.event.FOUNDATION_READY,新增-
事件通知-commonEventCOMMON_EVENT_AIRPLANE_MODE_CHANGED = usual.event.AIRPLANE_MODE新增-
事件通知-commonEventCOMMON_EVENT_USB_ACCESSORY_ATTACHED = usual.event.hardware.usb.action.USB_ACCESSORY_ATTACHED,新增-
事件通知-commonEventCOMMON_EVENT_USB_ACCESSORY_DETACHED = usual.event.hardware.usb.action.USB_ACCESSORY_DETACHED,新增-
事件通知-commonEventCOMMON_EVENT_DISK_REMOVED = usual.event.data.DISK_REMOVED,新增-
事件通知-commonEventCOMMON_EVENT_DISK_UNMOUNTED = usual.event.data.DISK_UNMOUNTED,新增-
事件通知-commonEventCOMMON_EVENT_DISK_MOUNTED = usual.event.data.DISK_MOUNTED,新增-
事件通知-commonEventCOMMON_EVENT_DISK_BAD_REMOVAL = usual.event.data.DISK_BAD_REMOVAL,新增-
事件通知-commonEventCOMMON_EVENT_NFC_ACTION_RF_FIELD_OFF_DETECTED = usual.event.nfc.action.RF_FIELD_OFF_DETECTED,新增-
事件通知-commonEventCOMMON_EVENT_DISCHARGING = usual.event.DISCHARGING,新增-
事件通知-commonEventCOMMON_EVENT_CHARGING = usual.event.CHARGING,新增-
事件通知-commonEventCOMMON_EVENT_DEVICE_IDLE_MODE_CHANGED = usual.event.DEVICE_IDLE_MODE_CHANGED,新增-
事件通知-commonEventCOMMON_EVENT_POWER_SAVE_MODE_CHANGED = usual.event.POWER_SAVE_MODE_CHANGED,新增-
事件通知-commonEventCOMMON_EVENT_USER_ADDED = usual.event.USER_ADDED,新增-
事件通知-commonEventCOMMON_EVENT_USER_REMOVED = usual.event.USER_REMOVED,新增-
事件通知-commonEventCOMMON_EVENT_ABILITY_ADDED = common.event.ABILITY_ADDED,新增-
事件通知-commonEventCOMMON_EVENT_ABILITY_REMOVED = common.event.ABILITY_REMOVED,新增-
事件通知-commonEventCOMMON_EVENT_ABILITY_UPDATED = common.event.ABILITY_UPDATED,新增-
事件通知-commonEventCOMMON_EVENT_LOCATION_MODE_STATE_CHANGED = usual.event.location.MODE_STATE_CHANGED,新增-
事件通知-commonEventCOMMON_EVENT_IVI_SLEEP = common.event.IVI_SLEEP,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_HOST_NAME_UPDATE = usual.event.bluetooth.host.NAME_UPDATE,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_A2DPSINK_CONNECT_STATE_UPDATE = usual.event.bluetooth.a2dpsink.CONNECT_STATE_UPDATE,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_A2DPSINK_PLAYING_STATE_UPDATE = usual.event.bluetooth.a2dpsink.PLAYING_STATE_UPDATE,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_A2DPSINK_AUDIO_STATE_UPDATE = usual.event.bluetooth.a2dpsink.AUDIO_STATE_UPDATE,新增-
事件通知-commonEventCOMMON_EVENT_NFC_ACTION_ADAPTER_STATE_CHANGED = usual.event.nfc.action.ADAPTER_STATE_CHANGED,新增-
事件通知-commonEventCOMMON_EVENT_NFC_ACTION_RF_FIELD_ON_DETECTED = usual.event.nfc.action.RF_FIELD_ON_DETECTED,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_HOST_REQ_ENABLE = usual.event.bluetooth.host.REQ_ENABLE,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_HOST_REQ_DISABLE = usual.event.bluetooth.host.REQ_DISABLE,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_HOST_SCAN_MODE_UPDATE = usual.event.bluetooth.host.SCAN_MODE_UPDATE,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_STARTED = usual.event.bluetooth.host.DISCOVERY_STARTED,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_HOST_DISCOVERY_FINISHED = usual.event.bluetooth.host.DISCOVERY_FINISHED,新增-
事件通知-commonEventCOMMON_EVENT_WIFI_P2P_CONN_STATE = usual.event.wifi.p2p.CONN_STATE_CHANGE,新增-
事件通知-commonEventCOMMON_EVENT_WIFI_P2P_STATE_CHANGED = usual.event.wifi.p2p.STATE_CHANGE,新增-
事件通知-commonEventCOMMON_EVENT_WIFI_P2P_PEERS_STATE_CHANGED = usual.event.wifi.p2p.DEVICES_CHANGE,新增-
事件通知-commonEventCOMMON_EVENT_WIFI_P2P_CURRENT_DEVICE_STATE_CHANGED = usual.event.wifi.p2p.CURRENT_DEVICE_CHANGE,新增-
事件通知-commonEventCOMMON_EVENT_WIFI_P2P_GROUP_STATE_CHANGED = usual.event.wifi.p2p.GROUP_STATE_CHANGED,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CONNECT_STATE_UPDATE = usual.event.bluetooth.handsfree.ag.CONNECT_STATE_UPDATE,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_HANDSFREE_AG_CURRENT_DEVICE_UPDATE = usual.event.bluetooth.handsfree.ag.CURRENT_DEVICE_UPDATE,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_HANDSFREE_AG_AUDIO_STATE_UPDATE = usual.event.bluetooth.handsfree.ag.AUDIO_STATE_UPDATE,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_A2DPSOURCE_CONNECT_STATE_UPDATE = usual.event.bluetooth.a2dpsource.CONNECT_STATE_UPDATE,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_A2DPSOURCE_CURRENT_DEVICE_UPDATE = usual.event.bluetooth.a2dpsource.CURRENT_DEVICE_UPDATE,新增-
事件通知-commonEventCOMMON_EVENT_WIFI_RSSI_VALUE = usual.event.wifi.RSSI_VALUE,新增-
事件通知-commonEventCOMMON_EVENT_WIFI_CONN_STATE = usual.event.wifi.CONN_STATE,新增-
事件通知-commonEventCOMMON_EVENT_WIFI_HOTSPOT_STATE = usual.event.wifi.HOTSPOT_STATE,新增-
事件通知-commonEventCOMMON_EVENT_WIFI_AP_STA_JOIN = usual.event.wifi.WIFI_HS_STA_JOIN,新增-
事件通知-commonEventCOMMON_EVENT_WIFI_AP_STA_LEAVE = usual.event.wifi.WIFI_HS_STA_LEAVE,新增-
事件通知-commonEventCOMMON_EVENT_WIFI_MPLINK_STATE_CHANGE = usual.event.wifi.mplink.STATE_CHANGE,新增-
事件通知-commonEventCOMMON_EVENT_HWID_LOGOUT = common.event.HWID_LOGOUT,新增-
事件通知-commonEventCOMMON_EVENT_HWID_TOKEN_INVALID = common.event.HWID_TOKEN_INVALID,新增-
事件通知-commonEventCOMMON_EVENT_HWID_LOGOFF = common.event.HWID_LOGOFF,新增-
事件通知-commonEventCOMMON_EVENT_WIFI_POWER_STATE = usual.event.wifi.POWER_STATE,新增-
事件通知-commonEventCOMMON_EVENT_WIFI_SCAN_FINISHED = usual.event.wifi.SCAN_FINISHED,新增-
事件通知-commonEventclearAbortCommonEvent(): Promise<void>;新增-
事件通知-commonEventbundleName?: string;新增-
事件通知-commonEventcode?: number;新增-
事件通知-commonEventdata?: string;新增-
事件通知-commonEventsubscriberPermissions?: Array<string>;新增-
事件通知-commonEventisOrdered?: boolean;新增-
事件通知-commonEventisSticky?: boolean;新增-
事件通知-commonEventabortCommonEvent(callback: AsyncCallback<void>): void;新增-
事件通知-commonEventabortCommonEvent(): Promise<void>;新增-
事件通知-commonEventcreateSubscriber(subscribeInfo: CommonEventSubscribeInfo): Promise<CommonEventSubscriber>;新增-
事件通知-commonEventcreateSubscriber(subscribeInfo: CommonEventSubscribeInfo, callback: AsyncCallback<CommonEventSubscriber>): void;新增-
事件通知-commonEventsubscribe(subscriber: CommonEventSubscriber, callback: AsyncCallback<CommonEventData>): void;新增-
事件通知-commonEventpublish(event: string, options: CommonEventPublishData, callback: AsyncCallback<void>): void;新增-
事件通知-commonEventisOrderedCommonEvent(callback: AsyncCallback<boolean>): void;新增-
事件通知-commonEventisOrderedCommonEvent(): Promise<boolean>;新增-
事件通知-commonEventCOMMON_EVENT_BOOT_COMPLETED = usual.event.BOOT_COMPLETED,新增-
事件通知-commonEventCOMMON_EVENT_LOCKED_BOOT_COMPLETED = usual.event.LOCKED_BOOT_COMPLETED,新增-
事件通知-commonEventCOMMON_EVENT_SHUTDOWN = usual.event.SHUTDOWN,新增-
事件通知-commonEventisStickyCommonEvent(): Promise<boolean>;新增-
事件通知-commonEventgetData(callback: AsyncCallback<string>): void;新增-
事件通知-commonEventgetData(): Promise<string>;新增-
事件通知-commonEventgetSubscribeInfo(callback: AsyncCallback<CommonEventSubscribeInfo>): void;新增-
事件通知-commonEventgetSubscribeInfo(): Promise<CommonEventSubscribeInfo>;新增-
事件通知-commonEventpublish(event: string, callback: AsyncCallback<void>): void;新增-
事件通知-commonEventevent: string新增-
事件通知-commonEventbundleName?: string;新增-
事件通知-commonEventcode?: number;新增-
事件通知-commonEventdata?: string;新增-
事件通知-commonEventsetCode(code: number, callback: AsyncCallback<void>): void;新增-
事件通知-commonEventCOMMON_EVENT_DRIVE_MODE = common.event.DRIVE_MODE,新增-
事件通知-commonEventCOMMON_EVENT_HOME_MODE = common.event.HOME_MODE,新增-
事件通知-commonEventCOMMON_EVENT_OFFICE_MODE = common.event.OFFICE_MODE,新增-
事件通知-commonEventCOMMON_EVENT_USER_STARTED = usual.event.USER_STARTED,新增-
事件通知-commonEventCOMMON_EVENT_USER_BACKGROUND = usual.event.USER_BACKGROUND,新增-
事件通知-commonEventCOMMON_EVENT_USER_FOREGROUND = usual.event.USER_FOREGROUND,新增-
事件通知-commonEventCOMMON_EVENT_USER_SWITCHED = usual.event.USER_SWITCHED,新增-
事件通知-commonEventCOMMON_EVENT_USER_STARTING = usual.event.USER_STARTING,新增-
事件通知-commonEventCOMMON_EVENT_USER_UNLOCKED = usual.event.USER_UNLOCKED,新增-
事件通知-commonEventCOMMON_EVENT_USER_STOPPING = usual.event.USER_STOPPING,新增-
事件通知-commonEventCOMMON_EVENT_USER_STOPPED = usual.event.USER_STOPPED,新增-
事件通知-commonEventCOMMON_EVENT_HWID_LOGIN = common.event.HWID_LOGIN,新增-
事件通知-commonEventCOMMON_EVENT_PACKAGE_VERIFIED = usual.event.PACKAGE_VERIFIED,新增-
事件通知-commonEventCOMMON_EVENT_EXTERNAL_APPLICATIONS_AVAILABLE = usual.event.EXTERNAL_APPLICATIONS_AVAILABLE,新增-
事件通知-commonEventCOMMON_EVENT_EXTERNAL_APPLICATIONS_UNAVAILABLE = usual.event.EXTERNAL_APPLICATIONS_UNAVAILABLE,新增-
事件通知-commonEventCOMMON_EVENT_CONFIGURATION_CHANGED = usual.event.CONFIGURATION_CHANGED,新增-
事件通知-commonEventCOMMON_EVENT_LOCALE_CHANGED = usual.event.LOCALE_CHANGED,新增-
事件通知-commonEventCOMMON_EVENT_MANAGE_PACKAGE_STORAGE = usual.event.MANAGE_PACKAGE_STORAGE,新增-
事件通知-commonEventCOMMON_EVENT_PACKAGES_UNSUSPENDED = usual.event.PACKAGES_UNSUSPENDED,新增-
事件通知-commonEventCOMMON_EVENT_MY_PACKAGE_SUSPENDED = usual.event.MY_PACKAGE_SUSPENDED,新增-
事件通知-commonEventCOMMON_EVENT_MY_PACKAGE_UNSUSPENDED = usual.event.MY_PACKAGE_UNSUSPENDED,新增-
事件通知-commonEventCOMMON_EVENT_UID_REMOVED = usual.event.UID_REMOVED,新增-
事件通知-commonEventCOMMON_EVENT_PACKAGE_FIRST_LAUNCH = usual.event.PACKAGE_FIRST_LAUNCH,新增-
事件通知-commonEventCOMMON_EVENT_PACKAGE_NEEDS_VERIFICATION = usual.event.PACKAGE_NEEDS_VERIFICATION,新增-
事件通知-commonEventCOMMON_EVENT_SCREEN_OFF = usual.event.SCREEN_OFF,新增-
事件通知-commonEventCOMMON_EVENT_SCREEN_ON = usual.event.SCREEN_ON,新增-
事件通知-commonEventCOMMON_EVENT_USER_PRESENT = usual.event.USER_PRESENT,新增-
事件通知-commonEventCOMMON_EVENT_TIME_TICK = usual.event.TIME_TICK,新增-
事件通知-commonEventCOMMON_EVENT_TIME_CHANGED = usual.event.TIME_CHANGED,新增-
事件通知-commonEventCOMMON_EVENT_DATE_CHANGED = usual.event.DATE_CHANGED,新增-
事件通知-commonEventCOMMON_EVENT_BATTERY_CHANGED = usual.event.BATTERY_CHANGED,新增-
事件通知-commonEventCOMMON_EVENT_BATTERY_LOW = usual.event.BATTERY_LOW,新增-
事件通知-commonEventCOMMON_EVENT_BATTERY_OKAY = usual.event.BATTERY_OKAY,新增-
事件通知-commonEventCOMMON_EVENT_POWER_CONNECTED = usual.event.POWER_CONNECTED,新增-
事件通知-commonEventCOMMON_EVENT_POWER_DISCONNECTED = usual.event.POWER_DISCONNECTED,新增-
事件通知-commonEventunsubscribe(subscriber: CommonEventSubscriber, callback?: AsyncCallback<void>): void;新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_CONNECTED = usual.event.bluetooth.remotedevice.ACL_CONNECTED,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_REMOTEDEVICE_ACL_DISCONNECTED = usual.event.bluetooth.remotedevice.ACL_DISCONNECTED,新增-
事件通知-commonEventgetAbortCommonEvent(callback: AsyncCallback<boolean>): void;新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_REMOTEDEVICE_NAME_UPDATE = usual.event.bluetooth.remotedevice.NAME_UPDATE,新增-
事件通知-commonEventgetAbortCommonEvent(): Promise<boolean>;新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_CONNECT_STATE_UPDATE = usual.event.bluetooth.handsfreeunit.CONNECT_STATE_UPDATE,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIR_STATE = usual.event.bluetooth.remotedevice.PAIR_STATE,新增-
事件通知-commonEventgetCode(callback: AsyncCallback<number>): void;新增-
事件通知-commonEventsetCode(code: number): Promise<void>;新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AUDIO_STATE_UPDATE = usual.event.bluetooth.handsfreeunit.AUDIO_STATE_UPDATE,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_REMOTEDEVICE_BATTERY_VALUE_UPDATE = usual.event.bluetooth.remotedevice.BATTERY_VALUE_UPDATE,新增-
事件通知-commonEventgetCode(): Promise<number>;新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_COMMON_EVENT = usual.event.bluetooth.handsfreeunit.AG_COMMON_EVENT,新增-
事件通知-commonEventsetCodeAndData(code: number, data: string, callback: AsyncCallback<void>): void;新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_REMOTEDEVICE_SDP_RESULT = usual.event.bluetooth.remotedevice.SDP_RESULT,新增-
事件通知-commonEventisStickyCommonEvent(callback: AsyncCallback<boolean>): void;新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_HANDSFREEUNIT_AG_CALL_STATE_UPDATE = usual.event.bluetooth.handsfreeunit.AG_CALL_STATE_UPDATE,新增-
事件通知-commonEventsetCodeAndData(code: number, data: string): Promise<void>;新增-
事件通知-commonEventevents: Array<string>;新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_HOST_STATE_UPDATE = usual.event.bluetooth.host.STATE_UPDATE,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_A2DPSOURCE_PLAYING_STATE_UPDATE = usual.event.bluetooth.a2dpsource.PLAYING_STATE_UPDATE,新增-
事件通知-commonEventsetData(data: string, callback: AsyncCallback<void>): void;新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_A2DPSOURCE_AVRCP_CONNECT_STATE_UPDATE = usual.event.bluetooth.a2dpsource.AVRCP_CONNECT_STATE_UPDATE,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_HOST_REQ_DISCOVERABLE = usual.event.bluetooth.host.REQ_DISCOVERABLE,新增-
事件通知-commonEventpublisherPermission?: string;新增-
事件通知-commonEventsetData(data: string): Promise<void>;新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_REMOTEDEVICE_UUID_VALUE = usual.event.bluetooth.remotedevice.UUID_VALUE,新增-
事件通知-commonEventpublisherDeviceId?: string;新增-
事件通知-commonEventclearAbortCommonEvent(callback: AsyncCallback<void>): void;新增-
事件通知-commonEventuserId?: number;新增-
事件通知-commonEventCOMMON_EVENT_TIMEZONE_CHANGED = usual.event.TIMEZONE_CHANGED,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_REQ = usual.event.bluetooth.remotedevice.PAIRING_REQ,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_REMOTEDEVICE_DISCOVERED = usual.event.bluetooth.remotedevice.DISCOVERED,新增-
事件通知-commonEventpriority?: number;新增-
事件通知-commonEventCOMMON_EVENT_BUNDLE_REMOVED = usual.event.BUNDLE_REMOVED,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CLASS_VALUE_UPDATE = usual.event.bluetooth.remotedevice.CLASS_VALUE_UPDATE,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_REMOTEDEVICE_PAIRING_CANCEL = usual.event.bluetooth.remotedevice.PAIRING_CANCEL,新增-
事件通知-commonEventCOMMON_EVENT_CLOSE_SYSTEM_DIALOGS = usual.event.CLOSE_SYSTEM_DIALOGS,新增-
事件通知-commonEventCOMMON_EVENT_PACKAGE_ADDED = usual.event.PACKAGE_ADDED,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REQ = usual.event.bluetooth.remotedevice.CONNECT_REQ,新增-
事件通知-commonEventCOMMON_EVENT_PACKAGE_FULLY_REMOVED = usual.event.PACKAGE_FULLY_REMOVED,新增-
事件通知-commonEventCOMMON_EVENT_PACKAGE_REPLACED = usual.event.PACKAGE_REPLACED,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_REPLY = usual.event.bluetooth.remotedevice.CONNECT_REPLY,新增-
事件通知-commonEventCOMMON_EVENT_MY_PACKAGE_REPLACED = usual.event.MY_PACKAGE_REPLACED,新增-
事件通知-commonEventCOMMON_EVENT_PACKAGE_CHANGED = usual.event.PACKAGE_CHANGED,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_REMOTEDEVICE_CONNECT_CANCEL = usual.event.bluetooth.remotedevice.CONNECT_CANCEL,新增-
事件通知-commonEventCOMMON_EVENT_PACKAGE_REMOVED = usual.event.PACKAGE_REMOVED,新增-
事件通知-commonEventCOMMON_EVENT_PACKAGE_RESTARTED = usual.event.PACKAGE_RESTARTED,新增-
事件通知-commonEventCOMMON_EVENT_PACKAGE_DATA_CLEARED = usual.event.PACKAGE_DATA_CLEARED,新增-
事件通知-commonEventCOMMON_EVENT_PACKAGES_SUSPENDED = usual.event.PACKAGES_SUSPENDED,新增-
事件通知-commonEventCOMMON_EVENT_BLUETOOTH_A2DPSOURCE_CODEC_VALUE_UPDATE = usual.event.bluetooth.a2dpsource.CODEC_VALUE_UPDATE,新增-
事件通知-commonEventCOMMON_EVENT_WIFI_P2P_PEERS_DISCOVERY_STATE_CHANGED = usual.event.wifi.p2p.PEER_DISCOVERY_STATE_CHANGE,新增-
事件通知-notificationLEVEL_NONE = 0,新增-
事件通知-notificationLEVEL_MIN = 1,新增-
事件通知-notificationLEVEL_LOW = 2,新增-
事件通知-notificationLEVEL_DEFAULT = 3,新增-
事件通知-notificationlabel?: string;新增-
事件通知-notificationbundle: string;新增-
事件通知-notificationuid?: number;新增-
事件通知-notificationNOTIFICATION_CONTENT_MULTILINE,新增-
事件通知-notificationUNKNOWN_TYPE = 0,新增-
事件通知-notificationSOCIAL_COMMUNICATION = 1,新增-
事件通知-notificationLEVEL_HIGH = 4,新增-
事件通知-notificationNOTIFICATION_CONTENT_BASIC_TEXT,新增-
事件通知-notificationNOTIFICATION_CONTENT_LONG_TEXT,新增-
事件通知-notificationNOTIFICATION_CONTENT_PICTURE,新增-
事件通知-notificationisFloatingIcon?: boolean;新增-
事件通知-notificationlabel?: string;新增-
事件通知-notificationbadgeIconStyle?: number;新增-
事件通知-notificationshowDeliveryTime?: boolean;新增-
事件通知-notificationisAlertOnce?: boolean;新增-
事件通知-notificationgetActiveNotifications(callback: AsyncCallback<Array<NotificationRequest>>): void;新增-
事件通知-notificationisStopwatch?: boolean;新增-
事件通知-notificationisCountDown?: boolean;新增-
事件通知-notificationgetActiveNotifications(): Promise<Array<NotificationRequest>>;新增-
事件通知-notificationgetActiveNotificationCount(callback: AsyncCallback<number>): void;新增-
事件通知-notificationreadonly creatorUid?: number;新增-
事件通知-notificationgetActiveNotificationCount(): Promise<number>;新增-
事件通知-notificationreadonly creatorPid?: number;新增-
事件通知-notificationcancel(id: number, label?: string): Promise<void>;新增-
事件通知-notificationclassification?: string;新增-
事件通知-notificationreadonly hashCode?: string;新增-
事件通知-notificationcancelAll(callback: AsyncCallback<void>): void;新增-
事件通知-notificationactionButtons?: Array<NotificationActionButton>;新增-
事件通知-notificationcancelAll(): Promise<void>;新增-
事件通知-notificationsmallIcon?: image.PixelMap;新增-
事件通知-notificationisUnremovable?: boolean;新增-
事件通知-notificationlargeIcon?: image.PixelMap;新增-
事件通知-notificationdeliveryTime?: number;新增-
事件通知-notificationreadonly creatorBundleName?: string;新增-
事件通知-notificationtapDismissed?: boolean;新增-
事件通知-notificationpublish(request: NotificationRequest): Promise<void>;新增-
事件通知-notificationautoDeletedTime?: number;新增-
事件通知-notificationcancel(id: number, callback: AsyncCallback<void>): void;新增-
事件通知-notificationcontent: NotificationContent;新增-
事件通知-notificationwantAgent?: WantAgentInfo;新增-
事件通知-notificationcancel(id: number, label: string, callback: AsyncCallback<void>): void;新增-
事件通知-notificationgetSlot(slotType: SlotType, callback: AsyncCallback<NotificationSlot>): void;新增-
事件通知-notificationextraInfo?: {[key: string]: any};新增-
事件通知-notificationgetSlot(slotType: SlotType): Promise<NotificationSlot>;新增-
事件通知-notificationSERVICE_INFORMATION = 2,新增-
事件通知-notificationcolor?: number;新增-
事件通知-notificationid?: number;新增-
事件通知-notificationgetSlots(callback: AsyncCallback<Array<NotificationSlot>>): void;新增-
事件通知-notificationCONTENT_INFORMATION = 3,新增-
事件通知-notificationslotType?: notification.SlotType;新增-
事件通知-notificationcolorEnabled?: boolean;新增-
事件通知-notificationOTHER_TYPES = 0xFFFF,新增-
事件通知-notificationisOngoing?: boolean;新增-
事件通知-notificationaddSlot(type: SlotType, callback: AsyncCallback<void>): void;新增-
事件通知-notificationid: number;新增-
事件通知-notificationaddSlot(type: SlotType): Promise<void>;新增-
事件通知-notificationdesc?: string;新增-
事件通知-notificationpublish(request: NotificationRequest, callback: AsyncCallback<void>): void;新增-
事件通知-notificationremoveAllSlots(callback: AsyncCallback<void>): void;新增-
事件通知-notificationremoveAllSlots(): Promise<void>;新增-
事件通知-notificationgetSlots(): Promise<Array<NotificationSlot>>;新增-
事件通知-notificationremoveSlot(slotType: SlotType, callback: AsyncCallback<void>): void;新增-
事件通知-notificationremoveSlot(slotType: SlotType): Promise<void>;新增-
全球化-resourceManagergetString(resId: number, callback: AsyncCallback<string>);
getString(resId: number): Promise<string>;
新增-
全球化-resourceManagergetStringArray(resId: number, callback: AsyncCallback<Array<string>>);
getStringArray(resId: number): Promise<Array<string>>;
新增-
全球化-resourceManagergetConfiguration(callback: AsyncCallback<Configuration>);
getConfiguration(): Promise<Configuration>;
新增-
全球化-resourceManagergetDeviceCapability(callback: AsyncCallback<DeviceCapability>);
getDeviceCapability(): Promise<DeviceCapability>;
新增-
全球化-resourceManagergetMedia(resId: number, callback: AsyncCallback<Uint8Array>);
getMedia(resId: number): Promise<Uint8Array>;
getMediaBase64(resId: number, callback: AsyncCallback<string>);
getMediaBase64(resId: number): Promise<string>;
新增-
全球化-resourceManager"getPluralString(resId: number, num: number, callback: AsyncCallback<string>);
getPluralString(resId: number, num: number): Promise<string>;"
新增-
全球化-resourceManagerDeviceCapability新增-
全球化-resourceManager"getMediaBase64(resId: number, callback: AsyncCallback<Uint8Array>);
getMediaBase64(resId: number): Promise<Uint9Array>;"
新增-
全球化-resourceManager"getResourceManager(callback: AsyncCallback<ResourceManager>);
getResourceManager(bundleName: string, callback: AsyncCallback<ResourceManager>);
getResourceManager(): Promise<ResourceManager>;
getResourceManager(bundleName: string): Promise<ResourceManager>;"
新增-
全球化-resourceManagerDeviceType新增-
全球化-resourceManagerDirection新增-
全球化-resourceManagerConfiguration新增-
全球化-resourceManagerScreenDensity新增-
全球化-resourceManagerdeviceType新增-
全球化-resourceManagerlocale新增-
全球化-resourceManagerdirection新增-
全球化-resourceManagerscreenDensity新增-
电源服务-batteryInfobatteryInfo:const batterySOC: number;新增-
电源服务-batteryInfobatteryInfo:const technology: string;新增-
电源服务-batteryInfobatteryInfo:const isBatteryPresent: boolean;新增-
电源服务-batteryInfobatteryInfo:const batteryTemperature: number;新增-
电源服务-batteryInfobatteryInfo:const pluggedType: BatteryPluggedType;新增-
电源服务-batteryInfobatteryInfo:const chargingStatus: BatteryChargeState;新增-
电源服务-batteryInfobatteryInfo:const healthStatus: BatteryHealthState;新增-
电源服务-batteryInfobatteryInfo:const voltage: number;新增-
电源服务-batteryInfoBatteryChargeState:NONE新增-
电源服务-batteryInfoBatteryChargeState:DISABLE新增-
电源服务-batteryInfoBatteryChargeState:ENABLE,新增-
电源服务-batteryInfoBatteryChargeState:FULL新增-
电源服务-batteryInfoBatteryHealthState:COLD新增-
电源服务-batteryInfoBatteryHealthState:OVERHEAT新增-
电源服务-batteryInfoBatteryHealthState:OVERVOLTAGE新增-
电源服务-batteryInfoBatteryHealthState:DEAD新增-
电源服务-batteryInfoBatteryHealthState:UNKNOWN新增-
电源服务-batteryInfoBatteryHealthState:GOOD新增-
电源服务-batteryInfoBatteryPluggedType:WIRELESS新增-
电源服务-batteryInfoBatteryPluggedType:NONE新增-
电源服务-batteryInfoBatteryPluggedType:AC新增-
电源服务-batteryInfoBatteryPluggedType:USB新增-
电源服务-runningLockRunningLock:unlock()新增-
电源服务-runningLockrunningLock:isRunningLockTypeSupported(type: RunningLockType, callback: AsyncCallback<boolean>): void;新增-
电源服务-runningLockrunningLock:createRunningLock(name: string, type: runningLockType): RunningLock新增-
电源服务-runningLockRunningLock:lock(timeout: number)新增-
电源服务-runningLockRunningLock:isUsed(): boolean新增-
电源服务-runninglockRunningLockType:BACKGROUND新增-
电源服务-runninglockRunningLockType:PROXIMITY_SCREEN_CONTROL新增-
电源服务-powerpower:rebootDevice(reason ?: string)新增-
电源服务-powerpower:isScreenOn(callback: AsyncCallback<boolean>): void;新增-

你可能感兴趣的鸿蒙文章

harmony(鸿蒙)1.0.0 (2022/03/09)

harmony(鸿蒙)1.0.0 (2022/03/09)

harmony(鸿蒙)OpenHarmony Docker镜像

harmony(鸿蒙)OpenHarmony Docker Image

harmony(鸿蒙)Legal Notices

harmony(鸿蒙)OpenHarmony Project

harmony(鸿蒙)OpenHarmony IDL Specifications and User Guide

harmony(鸿蒙)Application Development

harmony(鸿蒙)Ability Development

harmony(鸿蒙)Ability Assistant Usage

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/9fbcbf4ecf8e4c55b330170a5950c3a2