Methods Summary |
---|
public int | describeContents()Used to make this class parcelable.
return 0;
|
public int | getCookie()
return mCookie;
|
public int | getSequence()
return mSequence;
|
public java.lang.String | getSuggestionAt(int i)
return mSuggestions[i];
|
public int | getSuggestionsAttributes()
return mSuggestionsAttributes;
|
public int | getSuggestionsCount()
if (!mSuggestionsAvailable) {
return -1;
}
return mSuggestions.length;
|
public void | setCookieAndSequence(int cookie, int sequence)Set the cookie and the sequence of SuggestionsInfo which are set to TextInfo from a client
application
mCookie = cookie;
mSequence = sequence;
|
public void | writeToParcel(android.os.Parcel dest, int flags)Used to package this object into a {@link Parcel}.
dest.writeInt(mSuggestionsAttributes);
dest.writeStringArray(mSuggestions);
dest.writeInt(mCookie);
dest.writeInt(mSequence);
dest.writeInt(mSuggestionsAvailable ? 1 : 0);
|