Android.Media.AudioManager.ShouldVibrate Method
Returns whether a particular type should vibrate according to user settings and the current ringer mode.

Syntax

[Android.Runtime.Register("shouldVibrate", "(I)Z", "GetShouldVibrate_IHandler")]
[System.Obsolete("deprecated")]
public virtual bool ShouldVibrate ([Android.Runtime.GeneratedEnum] VibrateType vibrateType)

See Also

AudioManager.SetVibrateSetting(VibrateType, Android.Media.VibrateSetting)
AudioManager.GetVibrateSetting(VibrateType)

Parameters

vibrateType
The type of vibrate. One of AudioManager.VIBRATE_TYPE_NOTIFICATION or AudioManager.VIBRATE_TYPE_RINGER.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns whether a particular type should vibrate according to user settings and the current ringer mode.

This shouldn't be needed by most clients that use notifications to vibrate. The notification manager will not vibrate if the policy doesn't allow it, so the client should always set a vibrate pattern and let the notification manager control whether or not to actually vibrate.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1