語言

VibrationEffectPresetType 列舉

定義

識別預先定義的振動預設值。

public enum VibrationEffectPresetType
type VibrationEffectPresetType = 
繼承
VibrationEffectPresetType

欄位

名稱 值 Description
Click 1

一種銳利且短暫的脈搏感。 這是點擊效果的統一識別碼。

Android 參考資料。android.os.VibrationEffect.Preset.PRESET_CLICK

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

Tick 7

脈搏非常短暫。 這是刻度效應的統一識別碼。

Android 參考資料。android.os.VibrationEffect.Preset.PRESET_TICK

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

LowTick 8

一種非常短暫、低頻的脈衝感覺。 這是低刻度效果的統一識別碼。

Android 參考資料。android.os.VibrationEffect.Preset.PRESET_LOW_TICK

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

備註

用值Create(VibrationEffectPresetType)Create(VibrationEffectPresetType, Single)來建立預設。 請使用 IsPresetSupported(VibrationEffectPresetType) 以檢查裝置支援並 GetPresetDuration(VibrationEffectPresetType) 查詢其持續時間。

適用於