語言

EditorInfo.PrivateImeOptions 屬性

定義

一個字串,提供特定 IME 實作私有的額外資訊選項。

[Android.Runtime.Register("privateImeOptions")]
public string? PrivateImeOptions { get; set; }
[<Android.Runtime.Register("privateImeOptions")>]
member this.PrivateImeOptions : string with get, set

屬性值

屬性

備註

一個字串,提供特定 IME 實作私有的額外資訊選項。 字串必須設域為實作擁有的套件,以確保實作間不會有衝突,但除此之外,你可以隨意放入任何東西,與 IME 溝通。 例如,你可以有一個字串提供像 "com.example.myapp.SpecialMode=3"這樣的參數。 此欄位可由 android.R.attr#privateImeOptions TextView 的屬性填入。

Java 文件 android.view.inputmethod.EditorInfo.privateImeOptions。

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

適用於