Android APIs
public class

AssistStructure

extends Object
implements Parcelable
java.lang.Object
   ↳ android.app.assist.AssistStructure

Class Overview

Assist data automatically created by the platform's implementation of onProvideAssistData(Bundle).

Summary

Nested Classes
class AssistStructure.ViewNode Describes a single view in the assist data. 
class AssistStructure.WindowNode Describes a window in the assist data. 
[Expand]
Inherited Constants
From interface 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's marshalled 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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Fields

public static final Creator<AssistStructure> CREATOR

Added in API level 23

Public Constructors

public AssistStructure ()

Added in API level 23

Public Methods

public int describeContents ()

Added in API level 23

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

Returns
  • a bitmask indicating the set of special object types marshalled by the Parcelable.

public ComponentName getActivityComponent ()

Added in API level 23

Return the activity this AssistStructure came from.

public AssistStructure.WindowNode getWindowNodeAt (int index)

Added in API level 23

Return one of the windows in the assist data.

Parameters
index Which window to retrieve, may be 0 to getWindowNodeCount()-1.

public int getWindowNodeCount ()

Added in API level 23

Return the number of window contents that have been collected in this assist data.

public void writeToParcel (Parcel out, int flags)

Added in API level 23

Flatten this object in to a Parcel.

Parameters
out The Parcel in which the object should be written.
flags Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE.