語言

Vibrator.IsPresetSupported(VibrationEffectPresetType) 方法

定義

查詢震動器是否支援給定預設。

[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

參數

presetId
VibrationEffectPresetType

要查詢哪個預設。

傳回

預設值是否被支援。

屬性

適用於