DEFAULT_MODE
Vibration occurs only when device is in vibrate ringer mode.
Notification will cause vibration only if the device's AudioManager ringer mode is set to RINGER_MODE_VIBRATE. If the device is in normal or silent mode, no vibration will occur.
This is the default Android system behavior and respects user's device settings. Example:
PushwooshNotificationSettings settings = new PushwooshNotificationSettings();
// Respect device ringer mode
settings.setVibrateNotificationType(VibrateType.DEFAULT_MODE);
// Device will vibrate only if user has set it to vibrate mode
Log.d("App", "Vibration follows system settings");
Content copied to clipboard
See also
AudioManager