FlGeTui 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
-
addEventHandler({EventHandler? onReceiveDeviceToken, EventHandlerMessageModel? onReceiveMessageData, EventHandlerMessageModel? onNotificationMessageArrived, EventHandlerBool? onReceiveOnlineState, EventHandlerMessageModel? onNotificationMessageClicked, EventHandler? onRegisterVoIpToken, EventHandler? onAppLinkPayload, EventHandlerMap? onReceiveVoIpPayLoad})
→ void
-
消息监听
-
bindAlias(String alias, {String sn = ''})
→ Future<bool>
-
绑定 Alias
sn 绑定序列码 默认为 ‘’
-
checkManifestWithAndroid()
→ Future<bool>
-
检查集成结果 仅支持Android
-
getClientID()
→ Future<String?>
-
获取 clientId
-
getLaunchNotificationWithIOS()
→ Future<Map?>
-
only ios
-
getPushStatusWithAndroid()
→ Future<bool>
-
检测android 推送服务状态
-
init({String? appId, String? appKey, String? appSecret})
→ Future<bool>
-
初始化sdk
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
resetBadgeWithIOS()
→ Future<bool>
-
only ios
-
setBadge(int badge)
→ Future<bool>
-
setBadge
支持ios android
android 仅支持华为
-
setLocalBadgeWithIOS(int badge)
→ Future<bool>
-
only ios
-
setTag(List<String> tags, {String sn = ''})
→ Future<int?>
-
设置Tag
sn 序列号 仅支持Android
return code = 0 为成功,其他状态🐴 Android
ios 成功为0, 失败为 1
android 失败为 1
-
startPushWithAndroid()
→ Future<bool>
-
开启推送 only android
-
stopPushWithAndroid()
→ Future<bool>
-
关闭推送 only android
-
toString()
→ String
-
A string representation of this object.
inherited
-
unbindAlias(String alias, {String sn = '', bool isSelf = true})
→ Future<bool>
-
解绑 Alias
alias 别名字符串
sn 绑定序列码 默认为 ‘’
isSelf 是否只对当前cid有效,如果是true,只对当前cid做解绑;如果是false,对所有绑定该别名的cid列表做解绑
-
voIpRegistrationForIOS()
→ Future<bool>
-
ios注册 voip 推送服务