android.view.textservice
Class SuggestionsInfo

java.lang.Object
  extended by android.view.textservice.SuggestionsInfo
All Implemented Interfaces:
Parcelable

public final class SuggestionsInfo
extends Object
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
static Parcelable.Creator<SuggestionsInfo> CREATOR
           
static int RESULT_ATTR_IN_THE_DICTIONARY
           
static int RESULT_ATTR_LOOKS_LIKE_TYPO
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
SuggestionsInfo(int suggestionsAttributes, String[] suggestions)
           
SuggestionsInfo(int suggestionsAttributes, String[] suggestions, int cookie, int sequence)
           
SuggestionsInfo(Parcel source)
           
 
Method Summary
 int describeContents()
           
 int getCookie()
           
 int getSequence()
           
 String getSuggestionAt(int i)
           
 int getSuggestionsAttributes()
           
 int getSuggestionsCount()
           
 void setCookieAndSequence(int cookie, int sequence)
           
 void writeToParcel(Parcel dest, int flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESULT_ATTR_IN_THE_DICTIONARY

public static final int RESULT_ATTR_IN_THE_DICTIONARY
See Also:
Constant Field Values

RESULT_ATTR_LOOKS_LIKE_TYPO

public static final int RESULT_ATTR_LOOKS_LIKE_TYPO
See Also:
Constant Field Values

CREATOR

public static final Parcelable.Creator<SuggestionsInfo> CREATOR
Constructor Detail

SuggestionsInfo

public SuggestionsInfo(int suggestionsAttributes,
                       String[] suggestions)

SuggestionsInfo

public SuggestionsInfo(int suggestionsAttributes,
                       String[] suggestions,
                       int cookie,
                       int sequence)

SuggestionsInfo

public SuggestionsInfo(Parcel source)
Method Detail

writeToParcel

public void writeToParcel(Parcel dest,
                          int flags)
Specified by:
writeToParcel in interface Parcelable

setCookieAndSequence

public void setCookieAndSequence(int cookie,
                                 int sequence)

getCookie

public int getCookie()

getSequence

public int getSequence()

getSuggestionsAttributes

public int getSuggestionsAttributes()

getSuggestionsCount

public int getSuggestionsCount()

getSuggestionAt

public String getSuggestionAt(int i)

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable


Copyright © 2008-2012. All Rights Reserved.