setVibrateNotificationType
Configures when device should vibrate for notifications.
Sets the global vibration behavior for all push notifications. This setting determines whether the device vibrates based on the ringer mode.
Note: If "Force Vibration" is enabled in the Pushwoosh Control Panel for a specific notification, it will vibrate regardless of this setting.
Required Permission:VIBRATE Example:
// Always vibrate for urgent notifications (delivery arriving)
PushwooshNotificationSettings.setVibrateNotificationType(VibrateType.ALWAYS);
// Never vibrate (silent mode app)
PushwooshNotificationSettings.setVibrateNotificationType(VibrateType.NO_VIBRATE);
// Respect device settings (recommended)
PushwooshNotificationSettings.setVibrateNotificationType(VibrateType.DEFAULT_MODE);
Content copied to clipboard
Parameters
vibrateNotificationType
the vibration behavior mode