ZegoAndroidNotificationConfig class

android notification config

Constructors

ZegoAndroidNotificationConfig({String channelID = 'CallInvitation', String channelName = 'Call Invitation', String? icon = '', String? sound = '', bool vibrate = true, bool messageVibrate = false, bool callIDVisibility = true, String messageChannelID = 'Message', String messageChannelName = 'Message', String? messageIcon = '', String? messageSound = ''})

Properties

callIDVisibility bool
specify the call id show or hide,
getter/setter pair
channelID String
specify the channel id of notification, which is same in 'Zego Console'
getter/setter pair
channelName String
specify the channel name of notification, which is same in 'Zego Console'
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
icon String?
specify the icon file name id of notification, Additionally, you must place your icon file in the following path: ${project_root}/android/app/src/main/res/drawable/${icon}.png
getter/setter pair
messageChannelID String
specify the channel id of message notification, which is same in 'Zego Console'
getter/setter pair
messageChannelName String
specify the channel name of message notification, which is same in 'Zego Console'
getter/setter pair
messageIcon String?
specify the icon file name id of message notification, Additionally, you must place your icon file in the following path: ${project_root}/android/app/src/main/res/drawable/${icon}.png
getter/setter pair
messageSound String?
specify the sound file name id of message notification, which is same in 'Zego Console'. Additionally, you must place your audio file in the following path: ${project_root}/android/app/src/main/res/raw/${sound}.mp3
getter/setter pair
messageVibrate bool
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sound String?
specify the sound file name id of notification, which is same in 'Zego Console'. Additionally, you must place your audio file in the following path: ${project_root}/android/app/src/main/res/raw/${sound}.mp3
getter/setter pair
vibrate bool
getter/setter pair

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