NIMMixPushConfig class Null safety

消息推送配置

Annotations

Constructors

NIMMixPushConfig({String? xmAppId, String? xmAppKey, String? xmCertificateName, String? hwAppId, String? hwCertificateName, String? mzAppId, String? mzAppKey, String? mzCertificateName, String? fcmCertificateName, String? vivoCertificateName, String? oppoAppId, String? oppoAppKey, String? oppoAppSecret, String? oppoCertificateName, bool autoSelectPushType = false})
NIMMixPushConfig.fromMap(Map<String, dynamic> json)
factory

Properties

autoSelectPushType bool
是否根据token自动选择推送类型
@JsonKey(name: 'KEY_AUTO_SELECT_PUSH_TYPE'), final
fcmCertificateName String?
FCM 推送证书,请在云信管理后台申请 海外客户使用
@JsonKey(name: 'KEY_FCM_CERTIFICATE_NAME'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
hwAppId String?
华为推送 hwAppId
@JsonKey(name: 'KEY_HW_APP_ID'), final
hwCertificateName String?
华为推送证书,请在云信管理后台申请
@JsonKey(name: 'KEY_HW_CERTIFICATE_NAME'), final
mzAppId String?
魅族推送 appId
@JsonKey(name: 'KEY_MZ_APP_ID'), final
mzAppKey String?
魅族推送 appKey
@JsonKey(name: 'KEY_MZ_APP_KEY'), final
mzCertificateName String?
魅族推送证书,请在云信管理后台申请
@JsonKey(name: 'KEY_MZ_CERTIFICATE_NAME'), final
oppoAppId String?
oppo 推送appId
@JsonKey(name: 'KEY_OPPO_APP_ID'), final
oppoAppKey String?
oppo 推送appKey
@JsonKey(name: 'KEY_OPPO_APP_KEY'), final
oppoAppSecret String?
oppo 推送AppSecret
@JsonKey(name: 'KEY_OPPO_APP_SERCET'), final
oppoCertificateName String?
OPPO推送证书,请在云信管理后台申请
@JsonKey(name: 'KEY_OPPO_CERTIFICATE_NAME'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
vivoCertificateName String?
VIVO推送 appId apiKey请在 AndroidManifest.xml 文件中配置 VIVO推送证书,请在云信管理后台申请
@JsonKey(name: 'KEY_VIVO_CERTIFICATE_NAME'), final
xmAppId String?
小米推送 appId
@JsonKey(name: 'KEY_XM_APP_ID'), final
xmAppKey String?
小米推送 appKey
@JsonKey(name: 'KEY_XM_APP_KEY'), final
xmCertificateName String?
小米推送证书,请在云信管理后台申请
@JsonKey(name: 'KEY_XM_CERTIFICATE_NAME'), final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited