harmony 鸿蒙js-apidiff-ai

  • 2023-10-30
  • 浏览 (282)

操作 旧版本 新版本 d.ts文件
新增 NA 类名:intelligentVoice;
方法or属性:function getIntelligentVoiceManager(): IntelligentVoiceManager;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:intelligentVoice;
方法or属性:function createEnrollIntelligentVoiceEngine(descriptor: EnrollIntelligentVoiceEngineDescriptor, callback: AsyncCallback<EnrollIntelligentVoiceEngine>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:intelligentVoice;
方法or属性:function createEnrollIntelligentVoiceEngine(descriptor: EnrollIntelligentVoiceEngineDescriptor): Promise<EnrollIntelligentVoiceEngine>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:intelligentVoice;
方法or属性:function createWakeupIntelligentVoiceEngine(descriptor: WakeupIntelligentVoiceEngineDescriptor, callback: AsyncCallback<WakeupIntelligentVoiceEngine>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:intelligentVoice;
方法or属性:function createWakeupIntelligentVoiceEngine(descriptor: WakeupIntelligentVoiceEngineDescriptor): Promise<WakeupIntelligentVoiceEngine>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:IntelligentVoiceManager;
方法or属性:getCapabilityInfo(): Array<IntelligentVoiceEngineType>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:IntelligentVoiceManager;
方法or属性:on(type: ‘serviceChange’, callback: Callback<ServiceChangeType>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:IntelligentVoiceManager;
方法or属性:off(type: ‘serviceChange’, callback?: Callback<ServiceChangeType>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:ServiceChangeType;
方法or属性:SERVICE_UNAVAILABLE = 0
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:IntelligentVoiceEngineType;
方法or属性:ENROLL_ENGINE_TYPE = 0
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:IntelligentVoiceEngineType;
方法or属性:WAKEUP_ENGINE_TYPE = 1
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:IntelligentVoiceEngineType;
方法or属性:UPDATE_ENGINE_TYPE = 2
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngineDescriptor;
方法or属性:wakeupPhrase: string;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngineDescriptor;
方法or属性:wakeupPhrase: string;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngineDescriptor;
方法or属性:needReconfirm: boolean;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollEngineConfig;
方法or属性:language: string;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollEngineConfig;
方法or属性:region: string;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:SensibilityType;
方法or属性:LOW_SENSIBILITY = 1
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:SensibilityType;
方法or属性:MIDDLE_SENSIBILITY = 2
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:SensibilityType;
方法or属性:HIGH_SENSIBILITY = 3
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupHapInfo;
方法or属性:bundleName: string;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupHapInfo;
方法or属性:abilityName: string;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEventType;
方法or属性:INTELLIGENT_VOICE_EVENT_WAKEUP_NONE = 0
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEventType;
方法or属性:INTELLIGENT_VOICE_EVENT_RECOGNIZE_COMPLETE = 1
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:IntelligentVoiceErrorCode;
方法or属性:INTELLIGENT_VOICE_NO_MEMORY = 22700101
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:IntelligentVoiceErrorCode;
方法or属性:INTELLIGENT_VOICE_INVALID_PARAM = 22700102
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:IntelligentVoiceErrorCode;
方法or属性:INTELLIGENT_VOICE_INIT_FAILED = 22700103
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:IntelligentVoiceErrorCode;
方法or属性:INTELLIGENT_VOICE_COMMIT_ENROLL_FAILED = 22700104
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollResult;
方法or属性:SUCCESS = 0
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollResult;
方法or属性:VPR_TRAIN_FAILED = -1
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollResult;
方法or属性:WAKEUP_PHRASE_NOT_MATCH = -2
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollResult;
方法or属性:TOO_NOISY = -3
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollResult;
方法or属性:TOO_LOUD = -4
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollResult;
方法or属性:INTERVAL_LARGE = -5
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollResult;
方法or属性:DIFFERENT_PERSON = -6
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollResult;
方法or属性:UNKNOWN_ERROR = -100
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollCallbackInfo;
方法or属性:result: EnrollResult;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollCallbackInfo;
方法or属性:context: string;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngineCallbackInfo;
方法or属性:context: string;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngineCallbackInfo;
方法or属性:eventId: WakeupIntelligentVoiceEventType;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngineCallbackInfo;
方法or属性:isSuccess: boolean;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:getSupportedRegions(callback: AsyncCallback<Array<string>>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngine;
方法or属性:getSupportedRegions(callback: AsyncCallback<Array<string>>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:getSupportedRegions(): Promise<Array<string>>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngine;
方法or属性:getSupportedRegions(): Promise<Array<string>>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:init(config: EnrollEngineConfig, callback: AsyncCallback<void>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:init(config: EnrollEngineConfig): Promise<void>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:enrollForResult(isLast: boolean, callback: AsyncCallback<EnrollCallbackInfo>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:enrollForResult(isLast: boolean): Promise<EnrollCallbackInfo>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:stop(callback: AsyncCallback<void>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:stop(): Promise<void>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:commit(callback: AsyncCallback<void>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:commit(): Promise<void>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:setWakeupHapInfo(info: WakeupHapInfo, callback: AsyncCallback<void>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngine;
方法or属性:setWakeupHapInfo(info: WakeupHapInfo, callback: AsyncCallback<void>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:setWakeupHapInfo(info: WakeupHapInfo): Promise<void>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngine;
方法or属性:setWakeupHapInfo(info: WakeupHapInfo): Promise<void>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:setSensibility(sensibility: SensibilityType, callback: AsyncCallback<void>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngine;
方法or属性:setSensibility(sensibility: SensibilityType, callback: AsyncCallback<void>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:setSensibility(sensibility: SensibilityType): Promise<void>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngine;
方法or属性:setSensibility(sensibility: SensibilityType): Promise<void>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:setParameter(key: string, value: string, callback: AsyncCallback<void>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngine;
方法or属性:setParameter(key: string, value: string, callback: AsyncCallback<void>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:setParameter(key: string, value: string): Promise<void>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngine;
方法or属性:setParameter(key: string, value: string): Promise<void>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:getParameter(key: string, callback: AsyncCallback<string>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngine;
方法or属性:getParameter(key: string, callback: AsyncCallback<string>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:getParameter(key: string): Promise<string>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngine;
方法or属性:getParameter(key: string): Promise<string>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:release(callback: AsyncCallback<void>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngine;
方法or属性:release(callback: AsyncCallback<void>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:EnrollIntelligentVoiceEngine;
方法or属性:release(): Promise<void>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngine;
方法or属性:release(): Promise<void>;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngine;
方法or属性:on(type: ‘wakeupIntelligentVoiceEvent’, callback: Callback<WakeupIntelligentVoiceEngineCallbackInfo>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:WakeupIntelligentVoiceEngine;
方法or属性:off(type: ‘wakeupIntelligentVoiceEvent’, callback?: Callback<WakeupIntelligentVoiceEngineCallbackInfo>): void;
@ohos.ai.intelligentVoice.d.ts
新增 NA 类名:mindSporeLite;
方法or属性:function loadModelFromFile(
model: string,
context?: Context): Promise<Model>;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:mindSporeLite;
方法or属性:function loadModelFromFile(
model: string, callback: Callback<Model>): void;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:mindSporeLite;
方法or属性:function loadModelFromFile(
model: string,
context: Context, callback: Callback<Model>): void;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:mindSporeLite;
方法or属性:function loadModelFromBuffer(
model: ArrayBuffer,
context?: Context): Promise<Model>;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:mindSporeLite;
方法or属性:function loadModelFromBuffer(
model: ArrayBuffer, callback: Callback<Model>): void;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:mindSporeLite;
方法or属性:function loadModelFromBuffer(
model: ArrayBuffer,
context: Context, callback: Callback<Model>): void;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:mindSporeLite;
方法or属性:function loadModelFromFd(
model: number,
context?: Context): Promise<Model>;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:mindSporeLite;
方法or属性:function loadModelFromFd(
model: number, callback: Callback<Model>): void;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:mindSporeLite;
方法or属性:function loadModelFromFd(
model: number,
context: Context, callback: Callback<Model>): void;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:Model;
方法or属性:getInputs(): MSTensor[];
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:Model;
方法or属性:predict(inputs: MSTensor[], callback: Callback<MSTensor[]>): void;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:Model;
方法or属性:predict(inputs: MSTensor[]): Promise<MSTensor[]>;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:Model;
方法or属性:resize(inputs: MSTensor[], dims: Array<Array<number>>): boolean;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:Context;
方法or属性:target?: string[];
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:Context;
方法or属性:cpu?: CpuDevice;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:Context;
方法or属性:nnrt?: NNRTDevice;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:CpuDevice;
方法or属性:threadNum?: number;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:CpuDevice;
方法or属性:threadAffinityMode?: ThreadAffinityMode;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:CpuDevice;
方法or属性:threadAffinityCoreList?: number[];
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:CpuDevice;
方法or属性:precisionMode?: string;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:ThreadAffinityMode;
方法or属性:NO_AFFINITIES = 0
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:ThreadAffinityMode;
方法or属性:BIG_CORES_FIRST = 1
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:ThreadAffinityMode;
方法or属性:LITTLE_CORES_FIRST = 2
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:MSTensor;
方法or属性:name: string;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:MSTensor;
方法or属性:shape: number[];
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:MSTensor;
方法or属性:elementNum: number;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:MSTensor;
方法or属性:dataSize: number;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:MSTensor;
方法or属性:dtype: DataType;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:MSTensor;
方法or属性:format: Format;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:MSTensor;
方法or属性:getData(): ArrayBuffer;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:MSTensor;
方法or属性:setData(inputArray: ArrayBuffer): void;
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:DataType;
方法or属性:TYPE_UNKNOWN = 0
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:DataType;
方法or属性:NUMBER_TYPE_INT8 = 32
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:DataType;
方法or属性:NUMBER_TYPE_INT16 = 33
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:DataType;
方法or属性:NUMBER_TYPE_INT32 = 34
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:DataType;
方法or属性:NUMBER_TYPE_INT64 = 35
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:DataType;
方法or属性:NUMBER_TYPE_UINT8 = 37
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:DataType;
方法or属性:NUMBER_TYPE_UINT16 = 38
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:DataType;
方法or属性:NUMBER_TYPE_UINT32 = 39
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:DataType;
方法or属性:NUMBER_TYPE_UINT64 = 40
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:DataType;
方法or属性:NUMBER_TYPE_FLOAT16 = 42
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:DataType;
方法or属性:NUMBER_TYPE_FLOAT32 = 43
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:DataType;
方法or属性:NUMBER_TYPE_FLOAT64 = 44
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:Format;
方法or属性:DEFAULT_FORMAT = -1
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:Format;
方法or属性:NCHW = 0
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:Format;
方法or属性:NHWC = 1
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:Format;
方法or属性:NHWC4 = 2
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:Format;
方法or属性:HWKC = 3
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:Format;
方法or属性:HWCK = 4
@ohos.ai.mindSporeLite.d.ts
新增 NA 类名:Format;
方法or属性:KCHW = 5
@ohos.ai.mindSporeLite.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

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

harmony 鸿蒙js-apidiff-customization

0  赞