OneapmFlutterPlugin class

Constructors

OneapmFlutterPlugin()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

getSDKVersion Future<String?>
返回版本号
no setter
platformVersion Future<String?>
no setter

Static Methods

setCustomAction(String viewNameStr, String actionNameStr) Future<String?>
设置自定义Action @param viewName view的名字 @param actionName actionName名称
setHostAndPortAndSecurity(String host, String port, String security) Future<String?>
设置 OneAPM 服务器地址 @param host SDK 的服务器地址 @param port SDK 端口地址 @param withSecurity 与服务器的通信使用 https 协议时该值为 YES,使用 http 协议时改值为 NO。根据苹果的审核要求,推荐使用 https 协议。
setPrintLog(bool isPrintLog) Future<String?>
setPrintLog
setUserName(String userName) Future<String?>
设置用户名
startWithApplicationToken(String token) Future<String?>
设置 Token 并启动探针