跳过内容

@capgo/capacitor-appinsights

对 https://github.com/apptopia/appinsights 的包装,SDK。

https://github.com/apptopia/appinsights SDK

核心功能

核心功能
  • init - 初始化 AppInsights SDK。
  • setUserId - 初始化后设置或更新用户 ID。
  • getState - 获取 SDK 的当前状态。

公共 API

公共 API
方法描述
init初始化 AppInsights SDK。
setUserId初始化后设置或更新用户 ID。
getState获取 SDK 的当前状态。
getPluginVersion获取本机 Capacitor 插件版本。

此参考资料是从 src/definitions.tscapacitor-appinsights.