UmengAnalyticsPush class
Main Class
Constructors
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 Methods
-
addAlias(
String alias, String type) → Future< void> -
Add a alias by
alias
andtype
-
addPushMessageCallback(
OnPushMessageCallback onPushMessageCallback) → dynamic -
Add a push message callback function by
onPushMessageCallback
-
addTags(
String tags) → Future< void> -
Add a tags by
tags
-
deleteAlias(
String alias, String type) → Future< void> -
Delete a alias by
alias
andtype
-
deleteTags(
String tags) → Future< void> -
Delete a tags by
tags
-
deviceToken(
) → Future< String?> -
get DeviceToken
DeviceToken
-
event(
String eventId, {String? label}) → Future< void> -
Record custom event for
eventId
withlabel
-
initUmeng(
bool logEnabled, bool pushEnabled) → Future< void> -
init Umeng by
logEnabled
,pushEnabled
and optionandroidMessageSecret
-
pageEnd(
String pageName) → Future< void> -
Record page end event for
pageName
-
pageStart(
String pageName) → Future< void> -
Record page start event for
pageName
-
setAlias(
String alias, String type) → Future< void> -
Set a alias by
alias
andtype
Constants
- DEVICE_TYPE_BOX → const int
- Umeng device of box
- DEVICE_TYPE_PHONE → const int
- Umeng device of phone