Taal

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

Remarks

Query whether the vibrator supports the given preset.

Android reference for android.os.Vibrator.isPresetSupported.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to