目录

Agent Framework Kit

Change Type Old Version New Version d.ts File
API added NA

Class Name: global;

API declaration: export declare class AgentController

Difference: export declare class AgentController

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: AgentController;

API declaration: isAgentSupport(context: common.UIAbilityContext, agentId: string): Promise<boolean>;

Difference: isAgentSupport(context: common.UIAbilityContext, agentId: string): Promise<boolean>;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: AgentController;

API declaration: on(type: 'agentDialogOpened', callback: Callback<void>): void;

Difference: on(type: 'agentDialogOpened', callback: Callback<void>): void;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: AgentController;

API declaration: off(type: 'agentDialogOpened', callback?: Callback<void>): void;

Difference: off(type: 'agentDialogOpened', callback?: Callback<void>): void;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: AgentController;

API declaration: on(type: 'agentDialogClosed', callback: Callback<void>): void;

Difference: on(type: 'agentDialogClosed', callback: Callback<void>): void;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: AgentController;

API declaration: off(type: 'agentDialogClosed', callback?: Callback<void>): void;

Difference: off(type: 'agentDialogClosed', callback?: Callback<void>): void;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: global;

API declaration: export declare class FunctionController

Difference: export declare class FunctionController

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: global;

API declaration: export declare interface BaseOptions

Difference: export declare interface BaseOptions

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: BaseOptions;

API declaration: title?: string;

Difference: title?: string;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: BaseOptions;

API declaration: titleFontSize?: number;

Difference: titleFontSize?: number;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: BaseOptions;

API declaration: iconSize?: number;

Difference: iconSize?: number;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: BaseOptions;

API declaration: iconColors?: ResourceColor[];

Difference: iconColors?: ResourceColor[];

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: global;

API declaration: export declare interface FunctionOptions

Difference: export declare interface FunctionOptions

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: FunctionOptions;

API declaration: queryText?: string;

Difference: queryText?: string;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: FunctionOptions;

API declaration: controlSize?: ControlSize;

Difference: controlSize?: ControlSize;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: FunctionOptions;

API declaration: buttonType?: ButtonType;

Difference: buttonType?: ButtonType;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: FunctionOptions;

API declaration: isShowShadow?: boolean;

Difference: isShowShadow?: boolean;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: FunctionOptions;

API declaration: backgroundColor?: ResourceColor;

Difference: backgroundColor?: ResourceColor;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: FunctionOptions;

API declaration: titleColors?: ResourceColor[];

Difference: titleColors?: ResourceColor[];

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: global;

API declaration: export enum ButtonType

Difference: export enum ButtonType

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: ButtonType;

API declaration: CIRCLE = 0

Difference: CIRCLE = 0

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: ButtonType;

API declaration: CAPSULE = 1

Difference: CAPSULE = 1

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: global;

API declaration: export declare struct FunctionComponent

Difference: export declare struct FunctionComponent

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: FunctionComponent;

API declaration: agentId: string;

Difference: agentId: string;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: FunctionComponent;

API declaration: onError: ErrorCallback;

Difference: onError: ErrorCallback;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: FunctionComponent;

API declaration: options?: FunctionOptions;

Difference: options?: FunctionOptions;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: FunctionComponent;

API declaration: controller?: FunctionController;

Difference: controller?: FunctionController;

api/@hms.ai.AgentFramework.d.ets
API added NA

Class Name: FunctionComponent;

API declaration: build(): void;

Difference: build(): void;

api/@hms.ai.AgentFramework.d.ets
Addedkit

Class Name: global;

API declaration:

Difference: NA

Class Name: global;

API declaration: api@hms.ai.AgentFramework.d.ets

Difference: AgentFrameworkKit

api/@hms.ai.AgentFramework.d.ets