Sprache

Vibrator.IsPresetSupported(VibrationEffectPresetType) Methode

Definition

Fragen Sie ab, ob der Vibrationsor die angegebene Voreinstellung unterstützt.

[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

Parameter

presetId
VibrationEffectPresetType

Welche Voreinstellung sie abfragen soll.

Gibt zurück

Gibt an, ob die Voreinstellung unterstützt wird.

Attribute

Gilt für: