setEmailNotificationsForSudoId

fun NotificationConfiguration.setEmailNotificationsForSudoId(sudoId: String, enabled: Boolean): NotificationConfiguration

Extension function to add rules to a NotificationConfiguration for enabling or disabling email service notifications for a particular sudo 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

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