言語

BaseInputConnection.InterfaceConsts.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 が返されることがあります。 <strong>Editor の作成者</strong>: 可能であればスタイル付きのテキストを送信するように努める必要がありますが、必須ではありません。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象