InputMethodService.BackDisposition 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取目前處置模式,指出預期的返回按鈕能供性。 -或- 設定配置模式,指出返回按鈕的預期能供性。
public virtual Android.InputMethodServices.BackDisposition BackDisposition { [Android.Runtime.Register("getBackDisposition", "()I", "GetGetBackDispositionHandler")] get; [Android.Runtime.Register("setBackDisposition", "(I)V", "GetSetBackDisposition_IHandler")] set; }
[<get: Android.Runtime.Register("getBackDisposition", "()I", "GetGetBackDispositionHandler")>]
[<set: Android.Runtime.Register("setBackDisposition", "(I)V", "GetSetBackDisposition_IHandler")>]
member this.BackDisposition : Android.InputMethodServices.BackDisposition with get, set
屬性值
目前選取的處置模式
- 屬性
備註
屬性 getter 檔:
擷取目前處置模式,指出預期的返回按鈕能供性。
的 android.inputmethodservice.InputMethodService.getBackDisposition()
Java 檔。
屬性 setter 檔:
設定配置模式,指出返回按鈕的預期能供性。
請記住,指定此旗標並不會變更 的預設行為 #onKeyDown(int, KeyEvent)
。 這是 IME 開發人員負責確保其自定義實 #onKeyDown(int, KeyEvent)
作與這個 API 所指定的模式一致。
的 android.inputmethodservice.InputMethodService.setBackDisposition(int)
Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。