新建IRemoteAgent,并且生成 RemoteAgentProxy和RemoteAgentStub
第一步:新建idl文件,在entry文件夹商右键 entry/新建/Idl File,新建IRemoteAgent文件,如图
创建好后目录如图:
第二步:编译项目,通过 构建/Build Hap(s)/App(s)/Build Hap(s)
生成对应的文件IRemoteAgent/RemoteAgentProxy/RemoteAgentStub
新建IRemoteAgent,并且生成 RemoteAgentProxy和RemoteAgentStub
第一步:新建idl文件,在entry文件夹商右键 entry/新建/Idl File,新建IRemoteAgent文件,如图
创建好后目录如图:
第二步:编译项目,通过 构建/Build Hap(s)/App(s)/Build Hap(s)
生成对应的文件IRemoteAgent/RemoteAgentProxy/RemoteAgentStub