引入
import IntfPlatform from '@imedx/ics-imedx-chromely-plugin-intf-platform'
使用方法
init 初始化接口
IntfPlatform.init()
dispose 释放核心接口
IntfPlatform.dispose()
bussiness 业务交互接口
IntfPlatform.bussiness(intfCode, code, param)
register 注册接口
public static register(name: string, intfType: any, config: ConfigRecord)
getCoreInterface 获取核心接口
public static getCoreInterface(name: string): IInterfaceCore | undefined
getInterface 获取实现接口
public static getInterface(name: string): any | undefined
getInterfaceConfig 获取实现接口配置
public static getInterfaceConfig(name: string): ConfigRecord | undefined
getCoreInterfaceConfig 获取核心接口配置
public static getCoreInterfaceConfig(name: string): ConfigRecord | undefined