OfflinePushInfoEntity class
离线推送信息实体
Constructors
- OfflinePushInfoEntity({String? title, String? desc, String? ext, String? iOSSound, bool? ignoreIOSBadge, String? androidOPPOChannelID, bool? disablePush})
- OfflinePushInfoEntity.fromJson(dynamic data)
Properties
- androidOPPOChannelID ↔ String?
-
离线推送设置 OPPO 手机 8.0 系统及以上的渠道 ID。
getter/setter pair
- desc ↔ String?
-
通知栏内容
getter/setter pair
- disablePush ↔ bool?
-
获取是否关闭离线推送状态。
getter/setter pair
- ext ↔ String?
-
通知栏透传信息
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreIOSBadge ↔ bool?
-
离线推送忽略 badge 计数(仅对 iOS 生效), 如果设置为 true,在 iOS 接收端,这条消息不会使 APP 的应用图标未读计数增加。
getter/setter pair
- iOSSound ↔ String?
-
离线推送声音设置(仅对 iOS 生效)。 当 sound = IOS_OFFLINE_PUSH_NO_SOUND,表示接收时不会播放声音。 如果要自定义 iOSSound,需要先把语音文件链接进 Xcode 工程,然后把语音文件名(带后缀)设置给 iOSSound。
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
通知栏标题
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited