configPushNotification method
Future<void>
configPushNotification({
- required String notificationIcon,
- String? prefix,
- String? incomingBackgroundColor,
- String? incomingAcceptButtonImage,
- String? incomingDeclineButtonImage,
- String? backImage,
- String? userImage,
- String? missedCallTitle,
- String? prefixMissedCallMessage,
- String? userNameKey,
- String? channelId,
- String? videoNotificationDescription,
- String? audioNotificationDescription,
- String? representName,
- bool? isUseIntentFilter = true,
Implementation
Future<void> configPushNotification({
required String notificationIcon,
String? prefix,
String? incomingBackgroundColor,
String? incomingAcceptButtonImage,
String? incomingDeclineButtonImage,
String? backImage,
String? userImage,
String? missedCallTitle,
String? prefixMissedCallMessage,
String? userNameKey,
String? channelId,
String? videoNotificationDescription,
String? audioNotificationDescription,
String? representName,
bool? isUseIntentFilter = true,
}) async {
final action = OmiAction(
actionName: OmiActionName.CONFIG_NOTIFICATION,
data: {
'notificationIcon': notificationIcon,
'prefix': prefix,
'incomingBackgroundColor': incomingBackgroundColor,
'incomingAcceptButtonImage': incomingAcceptButtonImage,
'incomingDeclineButtonImage': incomingDeclineButtonImage,
'backImage': backImage,
'userImage': userImage,
'missedCallTitle': missedCallTitle,
'prefixMissedCallMessage': prefixMissedCallMessage,
'userNameKey': userNameKey,
'channelId': channelId,
'audioNotificationDescription': audioNotificationDescription,
'videoNotificationDescription': videoNotificationDescription,
'representName': representName,
'isUseIntentFilter': isUseIntentFilter
},
);
return await _controller.action(action);
}