Share via


AssistStructure.ViewNode Class

Definition

Describes a single view in the assist data.

[Android.Runtime.Register("android/app/assist/AssistStructure$ViewNode", ApiSince=23, DoNotGenerateAcw=true)]
public class AssistStructure.ViewNode : Java.Lang.Object
[<Android.Runtime.Register("android/app/assist/AssistStructure$ViewNode", ApiSince=23, DoNotGenerateAcw=true)>]
type AssistStructure.ViewNode = class
    inherit Object
Inheritance
AssistStructure.ViewNode
Attributes

Remarks

Describes a single view in the assist data.

Java documentation for android.app.assist.AssistStructure.ViewNode.

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.

Constructors

AssistStructure.ViewNode(IntPtr, JniHandleOwnership)

Fields

TextColorUndefined

Magic value for text color that has not been defined, which is very unlikely to be confused with a real text color.

Properties

Alpha

Returns the alpha transformation of the view, used to reduce the overall opacity of the view's contents, as set by ViewStructure#setAlpha ViewStructure.setAlpha(float).

AutofillId

Gets the id that can be used to autofill the view contents.

AutofillType

Gets the type of value that can be used to autofill the view contents.

AutofillValue

Gets the value of this view.

ChildCount

Return the number of children this node has.

Class

Returns the runtime class of this Object.

(Inherited from Object)
ClassName

Returns the class name of the node's implementation, indicating its behavior.

ContentDescription
ContentDescriptionFormatted

Returns any content description associated with the node, which semantically describes its purpose for accessibility and other uses.

Elevation

Returns the visual elevation of the view, used for shadowing and other visual characterstics, as set by ViewStructure#setElevation ViewStructure.setElevation(float).

Extras

Return a Bundle containing optional vendor-specific extension information.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
Height

Returns the height of this view, in pixels.

Hint

Return additional hint text associated with the node; this is typically used with a node that takes user input, describing to the user what the input means.

HintIdEntry

Gets the identifier used to set the hint associated with this view.

HtmlInfo
Id

Returns the ID associated with this view, as per View#getId() View.getId().

IdEntry

If #getId() is a resource identifier, this is the entry name of that identifier.

IdPackage

If #getId() is a resource identifier, this is the package name of that identifier.

IdType

If #getId() is a resource identifier, this is the type name of that identifier.

ImportantForAutofill

Gets the View#setImportantForAutofill(int) importantForAutofill mode of the view associated with this node.

InputType

Gets the android.text.InputType bits of this structure.

IsAccessibilityFocused

Returns true if this node currently had accessibility focus at the time that the structure was collected.

IsActivated

Returns true if this node has currently been activated by the user.

IsAssistBlocked

Returns true if assist data has been blocked starting at this node in the hierarchy.

IsCheckable

Returns true if this node represents something that is checkable by the user.

IsChecked

Returns true if this node is currently in a checked state.

IsClickable

Returns true if this node is clickable by the user.

IsContextClickable

Returns true if this node is something the user can perform a context click on.

IsEnabled

Returns true if this node is in an enabled state.

IsFocusable

Returns true if this node can take input focus.

IsFocused

Returns true if this node currently had input focus at the time that the structure was collected.

IsLongClickable

Returns true if this node is something the user can perform a long click/press on.

IsOpaque

Returns true if this node is opaque.

IsSelected

Returns true if this node has currently been selected by the user.

JniIdentityHashCode (Inherited from Object)
JniPeerMembers
Left

Returns the left edge of this view, in pixels, relative to the left edge of its parent.

LocaleList

Returns the list of locales associated with this view.

MaxTextEms

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

MaxTextLength

Returns the maximum length of the text associated with this node, or -1 if not supported by the node or not set.

MinTextEms

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

PeerReference (Inherited from Object)
ScrollX

Returns the current X scroll offset of this view, as per android.view.View#getScrollX() View.getScrollX().

ScrollY

Returns the current Y scroll offset of this view, as per android.view.View#getScrollX() View.getScrollY().

Text
TextBackgroundColor

If #getText() is non-null, this is the main text background color associated with it.

TextColor

If #getText() is non-null, this is the main text color associated with it.

TextFormatted

Returns any text associated with the node that is displayed to the user, or null if there is none.

TextIdEntry

Gets the identifier used to set the text associated with this view.

TextSelectionEnd

If #getText() is non-null, this is where the current selection starts.

TextSelectionStart

If #getText() is non-null, this is where the current selection starts.

TextSize

If #getText() is non-null, this is the main text size (in pixels) associated with it.

TextStyle

If #getText() is non-null, this is the main text style associated with it, containing a bit mask of #TEXT_STYLE_BOLD, #TEXT_STYLE_BOLD, #TEXT_STYLE_STRIKE_THRU, and/or #TEXT_STYLE_UNDERLINE.

ThresholdClass
ThresholdType
Top

Returns the top edge of this view, in pixels, relative to the top edge of its parent.

Transformation

Returns the transformation that has been applied to this view, such as a translation or scaling.

Visibility

Returns the visibility mode of this view, as per android.view.View#getVisibility() View.getVisibility().

WebDomain

Returns the domain of the HTML document represented by this view.

WebScheme

Returns the scheme of the HTML document represented by this view.

Width

Returns the width of this view, in pixels.

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetAutofillHints()

Describes the content of a view so that a autofill service can fill in the appropriate data.

GetAutofillOptions()

Gets the options that can be used to autofill this view.

GetAutofillOptionsFormatted()

Gets the options that can be used to autofill this view.

GetChildAt(Int32)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetReceiveContentMimeTypes()

Returns the MIME types accepted by View#performReceiveContent for this view.

GetTextLineBaselines()

Return per-line baselines into the text returned by #getText().

GetTextLineCharOffsets()

Return per-line offsets into the text returned by #getText().

JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to