UmengAnalyticsPluginPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • UmengAnalyticsPluginPlatform
Implementers

Constructors

UmengAnalyticsPluginPlatform()
Constructs a UmengAnalyticsPluginPlatform.

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

getPlatformVersion() Future<String?>
initialize({required String androidAppKey, required String iosAppKey, required String channel, required bool logEnabled, required bool encryptEnabled}) Future<void>
logEvent(String eventId, {Map<String, String>? properties}) Future<void>
自定义事件统计
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pageEnd(String pageName) Future<void>
页面结束统计
pageStart(String pageName) Future<void>
页面开始统计
signIn(String userId, {String? provider}) Future<void>
账号登录统计 userId : 用户账号ID,不能为空 provider : 账号来源。如果用户通过第三方账号登录,可以传入第三方名称,如:"Weibo", "QQ" 等,可选
signOut() Future<void>
账号登出统计
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance UmengAnalyticsPluginPlatform
The default instance of UmengAnalyticsPluginPlatform to use.
getter/setter pair