Bugly class
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
- isDebug → bool
-
no setter
- isTestEnv → bool
-
no setter
- options → BuglyOptions
-
no setter
- sdkRegin → SdkRegion
-
no setter
- useConfigCache → bool
-
no setter
Static Methods
-
addPageAction(
String pageAction) → void -
disableBugly(
) → void - 关闭 bugly
-
enableBugly(
) → void - 开启 bugly
-
enableLooperStack(
bool isEnable) → void - 打开卡顿抓栈监控
-
enableReport(
) → void - 开启网络上报能力
-
getMonitorTypes(
) → List< MonitorType> -
init(
BuglyOptions options, {AppRunner? appRunner, BeforeInitRunner? beforeInitRunner}) → Future< void> -
initBuglyTransport(
BuglyOptions option) → void -
nativeMethodCallHandle(
MethodCall methodCall) → Future -
reportException(
BuglyException exception) → void - 对外接口,上报异常
-
setAppInfo(
{String? appName, String? appVersion, String? appChannel}) → void - 设置 appInfo
-
setSdkRegion(
SdkRegion region) → void -
setUserId(
String userId) → void - 设置用户 id
-
updateUserId(
String userId) → void - 更新用户 id
Constants
- channel → const MethodChannel
- version → const String