語言

VibrationAttributes.UsagePhysicalEmulation 欄位

定義

警告

This constant will be removed in the future version. Use Android.OS.VibrationAttributesUsageType enum directly instead of this field.

用於模擬物理硬體反應的振動,例如邊緣擠壓。

[Android.Runtime.Register("USAGE_PHYSICAL_EMULATION", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.OS.VibrationAttributesUsageType enum directly instead of this field.", true)]
public const Android.OS.VibrationAttributesUsageType UsagePhysicalEmulation = 34;
[<Android.Runtime.Register("USAGE_PHYSICAL_EMULATION", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.OS.VibrationAttributesUsageType enum directly instead of this field.", true)>]
val mutable UsagePhysicalEmulation : Android.OS.VibrationAttributesUsageType

欄位值

Value = 34

實作

屬性

備註

用於模擬物理硬體反應的振動,例如邊緣擠壓。

請注意,一般的螢幕觸控反饋「點擊」效果通常會歸類為 #USAGE_TOUCH,而螢幕上的「實體」動畫如彈跳則屬於 #USAGE_MEDIA。

Java 文件 android.os.VibrationAttributes.USAGE_PHYSICAL_EMULATION。

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

適用於