InputMethodService.InputMethodWindowRecommendedHeight 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
目標是回傳先前輸入法的 Insets#contentTopInsets,但其實際語意從未被明確定義。
public virtual int InputMethodWindowRecommendedHeight { [Android.Runtime.Register("getInputMethodWindowRecommendedHeight", "()I", "GetGetInputMethodWindowRecommendedHeightHandler")] get; }
[<get: Android.Runtime.Register("getInputMethodWindowRecommendedHeight", "()I", "GetGetInputMethodWindowRecommendedHeightHandler")>]
member this.InputMethodWindowRecommendedHeight : int
屬性值
在 Android android.os.Build.VERSION_CODES#Q 及更新裝置上,此方法總是會回傳 0
- 屬性
備註
目標是回傳先前輸入法的 Insets#contentTopInsets,但其實際語意從未被明確定義。
請注意,前一份文件明確指出此方法可能因任何原因隨時返回 0 。 這個方法就是一直回傳 0。
此會員已被棄用。 這種方法的實際行為從未被明確定義。 你無法以可靠且可預測的方式使用這個方法
Java 文件 android.inputmethodservice.InputMethodService.getInputMethodWindowRecommendedHeight()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。