setEmailNotificationsForAddressId

fun NotificationConfiguration.setEmailNotificationsForAddressId(emailAddressId: String, enabled: Boolean): NotificationConfiguration

Extension function to add rules to a NotificationConfiguration for enabling or disabling email service notifications for a particular email address ID.

Once all notification configurations across all Sudo platform SDKs have been performed, call the com.sudoplatform.sudonotification.SudoNotificationClient.setNotificationConfiguration to set the full notification configuration for your application.

Return

New NotificationConfiguration with updated rules

Parameters

emailAddressId
ID of email address to set email service notification enablement for
enabled
Whether or not email service notifications are to be enabled or disabled for the
email address with the specified ID.