setSoundNotificationType
Configures when notification sounds should play.
Sets the global sound behavior for all push notifications. This setting determines whether sounds play based on the device's ringer mode. Example:
// Always play sound for critical apps (delivery, emergency)
PushwooshNotificationSettings.setSoundNotificationType(SoundType.ALWAYS);
// Silent app (productivity, focus)
PushwooshNotificationSettings.setSoundNotificationType(SoundType.NO_SOUND);
// Respect device settings (most apps)
PushwooshNotificationSettings.setSoundNotificationType(SoundType.DEFAULT_MODE);
Content copied to clipboard
Parameters
soundNotificationType
the sound behavior mode