CallKeepAndroidConfig class

The configurations needed for Android

Holding colors, flags and channel names

Constructors

CallKeepAndroidConfig({String notificationIcon = "", bool showMissedCallNotification = true, bool showCallBackAction = true, String ringtoneFileName = 'system_ringtone_default', String accentColor = '#0955fa', String? backgroundUrl, String incomingCallNotificationChannelName = 'Incoming Calls', String missedCallNotificationChannelName = "Missed Calls"})

Properties

accentColor String
Incoming call screen/notification accent color in hex
final
backgroundUrl String?
Using image background for Incoming call screen. example: http://... https://... or 'assets/abc.png'
final
hashCode int
The hash code for this object.
no setterinherited
incomingCallNotificationChannelName String
Notification channel name of incoming call.
final
File name of the app logo to show inside full screen.
final
missedCallNotificationChannelName String
Notification channel name of missed call.
final
notificationIcon String
File name of the notification icon to show inside call notifications.
final
ringtoneFileName String
File name of the ringtone that is put into /android/app/src/main/res/raw/
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCallBackAction bool
Show call back action on missed call notifications
final
showMissedCallNotification bool
Show a missed call notification when calls timeout
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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