AssistStructure.ViewNode.MaxTextLength Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the maximum length of the text associated with this node, or -1
if not
supported by the node or not set.
public virtual int MaxTextLength { [Android.Runtime.Register("getMaxTextLength", "()I", "GetGetMaxTextLengthHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getMaxTextLength", "()I", "GetGetMaxTextLengthHandler", ApiSince=28)>]
member this.MaxTextLength : int
Property Value
- Attributes
Remarks
Returns the maximum length of the text associated with this node, or -1
if not supported by the node or not set. System may set a default value if the text length is not set.
It's only relevant when the AssistStructure
is used for autofill purposes, not for assist purposes.
Java documentation for android.app.assist.AssistStructure.ViewNode.getMaxTextLength()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.