public
class
AssistStructure
extends Object
implements
Parcelable
| java.lang.Object | |
| ↳ | android.app.assist.AssistStructure |
Assist data automatically created by the platform's implementation
of onProvideAssistData(Bundle).
Nested classes | |
|---|---|
class |
AssistStructure.ViewNode
Describes a single view in the assist data. |
class |
AssistStructure.WindowNode
Describes a window in the assist data. |
Inherited constants |
|---|
android.os.Parcelable
|
Fields | |
|---|---|
public
static
final
Creator<AssistStructure> |
CREATOR
|
Public constructors | |
|---|---|
AssistStructure()
|
|
Public methods | |
|---|---|
int
|
describeContents()
Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. |
ComponentName
|
getActivityComponent()
Return the activity this AssistStructure came from. |
AssistStructure.WindowNode
|
getWindowNodeAt(int index)
Return one of the windows in the assist data. |
int
|
getWindowNodeCount()
Return the number of window contents that have been collected in this assist data. |
void
|
writeToParcel(Parcel out, int flags)
Flatten this object in to a Parcel. |
Inherited methods | |
|---|---|
java.lang.Object
| |
android.os.Parcelable
| |
int describeContents ()
Describe the kinds of special objects contained in this Parcelable
instance's marshaled representation. For example, if the object will
include a file descriptor in the output of writeToParcel(Parcel, int),
the return value of this method must include the
CONTENTS_FILE_DESCRIPTOR bit.
| Returns | |
|---|---|
int |
a bitmask indicating the set of special object types marshaled by this Parcelable object instance. |
ComponentName getActivityComponent ()
Return the activity this AssistStructure came from.
| Returns | |
|---|---|
ComponentName |
|
AssistStructure.WindowNode getWindowNodeAt (int index)
Return one of the windows in the assist data.
| Parameters | |
|---|---|
index |
int:
Which window to retrieve, may be 0 to getWindowNodeCount()-1.
|
| Returns | |
|---|---|
AssistStructure.WindowNode |
|
int getWindowNodeCount ()
Return the number of window contents that have been collected in this assist data.
| Returns | |
|---|---|
int |
|
void writeToParcel (Parcel out, int flags)
Flatten this object in to a Parcel.
| Parameters | |
|---|---|
out |
Parcel:
The Parcel in which the object should be written. |
flags |
int:
Additional flags about how the object should be written.
May be 0 or PARCELABLE_WRITE_RETURN_VALUE.
|