Language

Vibrator.IsPresetSupported(VibrationEffectPresetType) Method

Definition

Query whether the vibrator supports the given preset.

[Android.Runtime.Register("isPresetSupported", "(I)Z", "GetIsPresetSupported_IHandler", ApiSince=37)]
public virtual bool IsPresetSupported(Android.OS.VibrationEffectPresetType presetId);
[<Android.Runtime.Register("isPresetSupported", "(I)Z", "GetIsPresetSupported_IHandler", ApiSince=37)>]
abstract member IsPresetSupported : Android.OS.VibrationEffectPresetType -> bool
override this.IsPresetSupported : Android.OS.VibrationEffectPresetType -> bool

Parameters

presetId
VibrationEffectPresetType

Which preset to query for.

Returns

Whether the preset is supported.

Attributes

Applies to