Sdílet prostřednictvím


AssistStructure.ViewNode.MaxTextEms Property

Definition

Returns the maximum width in ems of the text associated with this node, or -1 if not supported by the node.

public virtual int MaxTextEms { [Android.Runtime.Register("getMaxTextEms", "()I", "GetGetMaxTextEmsHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getMaxTextEms", "()I", "GetGetMaxTextEmsHandler", ApiSince=28)>]
member this.MaxTextEms : int

Property Value

Attributes

Remarks

Returns the maximum width in ems of the text associated with this node, or -1 if not supported by the node.

It's only relevant when the AssistStructure is used for autofill purposes, not for assist purposes.

Java documentation for android.app.assist.AssistStructure.ViewNode.getMaxTextEms().

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.

Applies to