InputConnectionWrapper.InterfaceConsts.GetTextWithStyles 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Views.InputMethods.GetTextFlags enum directly instead of this field.
標記用於與 #getTextAfterCursor, #getTextBeforeCursor 並 #getSurroundingText 讓樣式資訊與文字一同回傳。
[Android.Runtime.Register("GET_TEXT_WITH_STYLES")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputMethods.GetTextFlags enum directly instead of this field.", true)]
public const Android.Views.InputMethods.GetTextFlags GetTextWithStyles = 1;
[<Android.Runtime.Register("GET_TEXT_WITH_STYLES")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.InputMethods.GetTextFlags enum directly instead of this field.", true)>]
val mutable GetTextWithStyles : Android.Views.InputMethods.GetTextFlags
欄位值
Value = 1- 屬性
備註
標記用於與 #getTextAfterCursor, #getTextBeforeCursor 並 #getSurroundingText 讓樣式資訊與文字一同回傳。 如果沒有設定 #getTextAfterCursor ,則只會傳送原始文字,沒有樣式或其他跨度。 若設定為此,可能會回傳包含文字與樣式區間的複雜字元序列。
<強編>者</強者>:如果可能,應該盡量提供帶有風格的文本,但並非必須。
Java 文件 android.view.inputmethod.InputConnection.GET_TEXT_WITH_STYLES。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。