ViewStructure Class
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.
ViewStructure
is a container for storing additional
per-view data generated by View#onProvideStructure
View.onProvideStructure
and View#onProvideAutofillStructure
View.onProvideAutofillStructure
.
[Android.Runtime.Register("android/view/ViewStructure", ApiSince=23, DoNotGenerateAcw=true)]
public abstract class ViewStructure : Java.Lang.Object
[<Android.Runtime.Register("android/view/ViewStructure", ApiSince=23, DoNotGenerateAcw=true)>]
type ViewStructure = class
inherit Object
- Inheritance
- Attributes
Remarks
ViewStructure
is a container for storing additional per-view data generated by View#onProvideStructure View.onProvideStructure
and View#onProvideAutofillStructure View.onProvideAutofillStructure
.
To learn more about using Autofill in your app, read the Autofill Framework guides.
Java documentation for android.view.ViewStructure
.
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
ViewStructure() | |
ViewStructure(IntPtr, JniHandleOwnership) |
Properties
AutofillId | |
ChildCount | |
Class |
Returns the runtime class of this |
Extras | |
Handle |
The handle to the underlying Android instance. (Inherited from Object) |
HasExtras | |
Hint | |
HintFormatted | |
JniIdentityHashCode | (Inherited from Object) |
JniPeerMembers | |
PeerReference | (Inherited from Object) |
Text | |
TextFormatted | |
TextSelectionEnd | |
TextSelectionStart | |
ThresholdClass | |
ThresholdType |
Methods
AddChildCount(Int32) |
Add to this view's child count. |
AsyncCommit() |
Call when done populating a |
AsyncNewChild(Int32) |
Like |
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) |
GetHashCode() |
Returns a hash code value for the object. (Inherited from Object) |
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) |
NewChild(Int32) |
Create a new child |
NewHtmlInfoBuilder(String) |
Creates a new |
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) |
SetAccessibilityFocused(Boolean) |
Set the accessibility focused state of this view, as per
|
SetActivated(Boolean) |
Set the activated state of this view, as per |
SetAlpha(Single) |
Set an alpha transformation that is applied to this view, as per
|
SetAutofillHints(String[]) |
Sets the a hints that helps the autofill service to select the appropriate data to fill the view. |
SetAutofillId(AutofillId, Int32) |
Sets the |
SetAutofillOptions(ICharSequence[]) |
Sets the options that can be used to autofill this node. |
SetAutofillOptions(String[]) |
Sets the options that can be used to autofill this node. |
SetAutofillType(AutofillType) |
Sets the |
SetAutofillValue(AutofillValue) |
Sets the |
SetCheckable(Boolean) |
Set the checkable state of this view, such as whether it implements the
|
SetChecked(Boolean) |
Set the checked state of this view, such as
|
SetClassName(String) |
Set the class name of the view, as per
|
SetClickable(Boolean) |
Set the clickable state of this view, as per |
SetContentDescription(ICharSequence) |
Set the content description of the view, as per
|
SetContentDescription(String) |
Set the content description of the view, as per
|
SetContextClickable(Boolean) |
Set the context clickable state of this view, as per
|
SetDataIsSensitive(Boolean) |
Sets whether the data on this node is sensitive; if it is, then its content (text, autofill value, etc. |
SetDimens(Int32, Int32, Int32, Int32, Int32, Int32) |
Set the basic dimensions of this view. |
SetElevation(Single) |
Set the visual elevation (shadow) of the view, as per
|
SetEnabled(Boolean) |
Set the enabled state of this view, as per |
SetFocusable(Boolean) |
Set the focusable state of this view, as per |
SetFocused(Boolean) |
Set the focused state of this view, as per |
SetHandle(IntPtr, JniHandleOwnership) |
Sets the Handle property. (Inherited from Object) |
SetHintIdEntry(String) |
Sets the identifier used to set the hint associated with this view. |
SetHtmlInfo(ViewStructure+HtmlInfo) |
Sets the HTML properties of this node when it represents an HTML element. |
SetId(Int32, String, String, String) |
Set the identifier for this view. |
SetImportantForAutofill(Int32) |
Sets the |
SetInputType(Int32) |
Sets the |
SetLocaleList(LocaleList) |
Sets the the list of locales associated with this node. |
SetLongClickable(Boolean) |
Set the long clickable state of this view, as per
|
SetMaxTextEms(Int32) |
Sets the maximum width in ems of the text associated with this view, when supported. |
SetMaxTextLength(Int32) |
Sets the maximum length of the text associated with this view, when supported. |
SetMinTextEms(Int32) |
Sets the minimum width in ems of the text associated with this view, when supported. |
SetOpaque(Boolean) |
Set the opaque state of this view, as per |
SetReceiveContentMimeTypes(String[]) |
Sets the MIME types accepted by this view. |
SetSelected(Boolean) |
Set the selected state of this view, as per |
SetText(ICharSequence, Int32, Int32) |
Like |
SetText(String, Int32, Int32) |
Like |
SetTextIdEntry(String) |
Sets the identifier used to set the text associated with this view. |
SetTextLines(Int32[], Int32[]) |
Set line information for test that was previously supplied through
|
SetTextStyle(Single, Int32, Int32, AssistTextStyle) |
Explicitly set default global style information for text that was previously set with
|
SetTransformation(Matrix) |
Set the transformation matrix associated with this view, as per
|
SetVisibility(ViewStates) |
Set the visibility state of this view, as per
|
SetWebDomain(String) |
Sets the Web domain represented by this node. |
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) |