ZegoCallAndroidNotificationConfig class
android notification config
Constructors
- ZegoCallAndroidNotificationConfig({String channelID = 'CallInvitation', String channelName = 'Call Invitation', String? icon = '', String? sound = '', bool vibrate = true, bool messageVibrate = false, bool callIDVisibility = true, bool showFullScreen = false, String messageChannelID = 'Message', String messageChannelName = 'Message', String? messageIcon = '', String? messageSound = '', String? fullScreenBackground = '', ZegoSignalingPluginMultiCertificate certificateIndex = ZegoSignalingPluginMultiCertificate.firstCertificate})
Properties
- callIDVisibility ↔ bool
-
specify the call id show or hide,
getter/setter pair
- certificateIndex ↔ ZegoSignalingPluginMultiCertificate
-
Corresponding certificate index configured by zego console
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
- fullScreenBackground ↔ String?
-
If fullScreen is enabled, you can use this parameter to configure the
background image
such as fullScreenBackground: 'assets/image/call.png'
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
- showFullScreen ↔ bool
-
only for offline call, displayed in full screen or not when the screen is locked, default value is false.
getter/setter pair
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited