Methods Summary |
---|
public int | describeContents()
return 0;
|
public java.lang.CharSequence | getNewText()Return the new text that corrects what was typed by the user.
return mNewText;
|
public int | getOffset()Return the offset position of this correction in the text. Both the {@link #getOldText()} and
{@link #getNewText()} start at this offset.
return mOffset;
|
public java.lang.CharSequence | getOldText()Return the text that has actually been typed by the user, and which has been corrected.
return mOldText;
|
public java.lang.String | toString()
return "CorrectionInfo{#" + mOffset + " \"" + mOldText + "\" -> \"" + mNewText + "\"}";
|
public void | writeToParcel(android.os.Parcel dest, int flags)Used to package this object into a {@link Parcel}.
dest.writeInt(mOffset);
TextUtils.writeToParcel(mOldText, dest, flags);
TextUtils.writeToParcel(mNewText, dest, flags);
|