harmony(鸿蒙)JS API Differences

2022-08-09 浏览 (541)

JS API Differences

This document describes the changes of APIs in OpenHarmony 3.0 LTS when compared with OpenHarmony 2.2 Beta2.

Standard System API Changes

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

你可能感兴趣的鸿蒙文章

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/c032ce6d9cbc45a18284e65ebf764ed4