次の方法で共有


InputConnection.GetTextWithStyles フィールド

定義

注意事項

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 スタイルやその他のスパンを含まない生のテキストのみを送信します。 設定すると、テキストスパンとスタイルスパンの両方の複雑な CharSequence が返されることがあります。 <強力な>編集者</強い>: 可能であればスタイル付きのテキストを送信するように努める必要がありますが、必須ではありません。

の Java ドキュメントandroid.view.inputmethod.InputConnection.GET_TEXT_WITH_STYLES

このページの一部は、Android オープンソース プロジェクトによって作成および共有され、クリエイティブ コモンズ 2.5 属性ライセンスに記載されている条件に従って使用される作業に基づく変更です。

適用対象