Vibrator.IsPresetSupported(VibrationEffectPresetType) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
查詢震動器是否支援給定預設。
[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
要查詢哪個預設。
傳回
預設值是否被支援。
- 屬性