FlutterPluginEngagelab class

Constructors

FlutterPluginEngagelab()

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

debug bool
getter/setter pair

Static Methods

addEventHandler({EventHandler? onMTCommonReceiver}) → void
addTags(dynamic params) → dynamic
新增标签。
checkNotificationAuthorizationIos() → dynamic
检测通知权限授权情况
clearAlias(dynamic sequence) → dynamic
清除别名。
clearNotification(dynamic notifyId) → dynamic
clearNotificationAll() → dynamic
configConnectRetryCountAndroid(dynamic connectRetryCount) → dynamic
设置长连接重试次数
configDebugMode(dynamic enable) → dynamic
设置是否debug模式,debug模式会打印更对详细日志
configHeartbeatIntervalAndroid(dynamic heartbeatInterval) → dynamic
设置心跳时间间隔
configSM4Android() → dynamic
配置使用国密加密
deleteAllTag(dynamic sequence) → dynamic
删除所有标签。
deleteTags(dynamic params) → dynamic
删除标签。
errorCallback(dynamic msg) → void
getAlias(dynamic sequence) → dynamic
获取别名。
getRegistrationId() Future<String>
获取当前设备的registrationId,Engagelab私有云唯一标识,可同于推送
getUserIdAndroid() Future<String>
获取当前设备的userId,Engagelab私有云唯一标识,可同于推送
goToAppNotificationSettingsAndroid() → dynamic
前往通知开关设置页面
initAndroid() → dynamic
initIos({String appKey = '', bool isProduction = false, String channel = '', bool isIdfa = false}) → dynamic
printMy(dynamic msg) → void
queryAllTag(dynamic sequence) → dynamic
查询所有标签。
queryTag(dynamic params) → dynamic
查询标签。 ios为校验validTag
reportNotificationArrivedAndroid(dynamic messageId, dynamic platform, dynamic platformMessageId) → dynamic
上报厂商通道通知到达
reportNotificationClickedAndroid(dynamic messageId, dynamic platform, dynamic platformMessageId) → dynamic
上报厂商通道通知点击
reportNotificationDeletedAndroid(dynamic messageId, dynamic platform, dynamic platformMessageId) → dynamic
上报厂商通道通知删除
reportNotificationOpenedAndroid(dynamic messageId, dynamic platform, dynamic platformMessageId) → dynamic
上报厂商通道通知打开
resetNotificationBadge() → dynamic
重置应用角标数量,默认0(仅华为/荣耀生效/ios)
resetNotificationCountAndroid() → dynamic
重置通知栏的通知数量,默认数量为5
resetNotificationShowTimeAndroid() → dynamic
重置通知展示时间,默认任何时间都展示
resetNotificationSilenceTimeAndroid() → dynamic
重置通知静默时间,默认任何时间都不静默
sendLocalNotification(LocalNotification notification) Future<String>
发送本地通知到调度器,指定时间出发该通知。 @param {Notification} notification
setAlias(dynamic sequence, dynamic alias) → dynamic
设置别名。
setCountryCodeAndroid(dynamic country) → dynamic
setNotificationBadge(dynamic badge) → dynamic
设置应用角标数量,默认0(仅华为/荣耀/ios生效)
setNotificationCountAndroid(dynamic count) → dynamic
设置通知栏的通知数量,默认数量为5
setNotificationShowTimeAndroid(dynamic beginHour, dynamic endHour, List<int> weekDays) → dynamic
设置通知展示时间,默认任何时间都展示
setNotificationSilenceTimeAndroid(dynamic beginHour, dynamic beginMinute, dynamic endHour, dynamic endMinute) → dynamic
设置通知静默时间,默认任何时间都不静默
setSiteName(dynamic siteName) → dynamic
设置数据中心
setTcpSSLIos(dynamic enable) → dynamic
@param enable tcp是否加密,true为加密,false为不加密
turnOffPushAndroid() → dynamic
关闭 push 推送,并持久化存储开关状态为false,默认是true
turnOnPushAndroid() → dynamic
开启 Push 推送,并持久化存储开关状态为true,默认是true
updateTags(dynamic params) → dynamic
更新标签。ios setTags
uploadPlatformTokenAndroid(dynamic platform, dynamic token, dynamic region) → dynamic
上传厂商token

Constants

flutter_log → const String