FlBaiduMobStatYs 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
-
eventEnd({required String eventId, String label = '', Map<String, String>? attributes})
→ Future<bool>
-
记录一次事件的结束。
-
eventStart({required String eventId, String label = ''})
→ Future<bool>
-
记录一次事件的开始。
-
getDeviceCuId()
→ Future<String?>
-
获取SDK生成的设备的cuId
android 上获取为空字符串
-
getTestDeviceId()
→ Future<String?>
-
获取SDK生成的设备的测试ID
-
logDurationEvent({required String eventId, required int duration, required String label, Map<String, String>? attributes})
→ Future<bool>
-
记录一次事件的时长。
-
logEvent({required String eventId, Map<String, String>? attributes})
→ Future<bool>
-
记录一次事件的点击。
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pageEnd(String name)
→ Future<bool>
-
记录某个页面访问的结束。
-
pageStart(String name)
→ Future<bool>
-
记录某个页面访问的开始。
-
setApiKey({required String androidKey, required String iosKey})
→ Future<bool>
-
设置 apiKey
-
setAppChannel(String channel)
→ Future<bool>
-
设置通道
-
setAppVersionName(String versionName)
→ Future<bool>
-
设置App版本
-
setDebug(bool enableDebugOn)
→ Future<bool>
-
是否开启 debug
默认 false
-
toString()
→ String
-
A string representation of this object.
inherited