Android.Media.AudioManager.SetVibrateSetting Method
Sets the setting for when the vibrate type should vibrate.

Syntax

[Android.Runtime.Register("setVibrateSetting", "(II)V", "GetSetVibrateSetting_IIHandler")]
[System.Obsolete("deprecated")]
public virtual void SetVibrateSetting ([Android.Runtime.GeneratedEnum] VibrateType vibrateType, [Android.Runtime.GeneratedEnum] VibrateSetting vibrateSetting)

See Also

AudioManager.GetVibrateSetting(VibrateType)
AudioManager.ShouldVibrate(VibrateType)

Parameters

vibrateType
The type of vibrate. One of AudioManager.VIBRATE_TYPE_NOTIFICATION or AudioManager.VIBRATE_TYPE_RINGER.
vibrateSetting
The vibrate setting, one of AudioManager.VIBRATE_SETTING_ON, AudioManager.VIBRATE_SETTING_OFF, or AudioManager.VIBRATE_SETTING_ONLY_SILENT.

Remarks

Sets the setting for when the vibrate type should vibrate.

This method should only be used by applications that replace the platform-wide management of audio settings or the main telephony application.

[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