UmengAnalyticsWithPush 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
Static Methods
-
addAlias(
String type, String alias) → Future< void> - 增加别名
-
addTags(
List< String> tags) → Future<void> - 添加标签
-
getTags(
) → Future< List< String> > - 获取服务器端的所有标签
-
initialize(
{UmengDeviceType type = UmengDeviceType.phone, bool? catchUncaughtExceptions}) → Future< void> - 初始化推送和分析
-
onEvent(
String event, [dynamic params, int? counter]) → Future< void> - 统计事件
-
onPageEnd(
String page) → Future< void> - 页面退到后台
-
onPageStart(
String page) → Future< void> - 页面进入前台
-
onProfileSignIn(
String id, String provider) → Future< void> - 页面变化 统计应用账号登录
-
onProfileSignOut(
) → Future< void> - 统计应用账号登出
-
putAlias(
String type, String alias) → Future< void> - 绑定别名
-
removeAlias(
String type, String alias) → Future< void> - 移除别名
-
removeTags(
List< String> tags) → Future<void> - 删除标签