FileDocCategorySizeDatePackage
SpellCheckSpan.javaAPI DocAndroid 5.1 API1796Thu Mar 12 22:22:10 GMT 2015android.text.style

SpellCheckSpan

public class SpellCheckSpan extends Object implements android.text.ParcelableSpan
A SpellCheckSpan is an internal data structure created by the TextView's SpellChecker to annotate portions of the text that are about to or currently being spell checked. They are automatically removed once the spell check is completed.
hide

Fields Summary
private boolean
mSpellCheckInProgress
Constructors Summary
public SpellCheckSpan()

        mSpellCheckInProgress = false;
    
public SpellCheckSpan(android.os.Parcel src)

        mSpellCheckInProgress = (src.readInt() != 0);
    
Methods Summary
public intdescribeContents()

        return 0;
    
public intgetSpanTypeId()

        return TextUtils.SPELL_CHECK_SPAN;
    
public booleanisSpellCheckInProgress()

        return mSpellCheckInProgress;
    
public voidsetSpellCheckInProgress(boolean inProgress)

        mSpellCheckInProgress = inProgress;
    
public voidwriteToParcel(android.os.Parcel dest, int flags)

        dest.writeInt(mSpellCheckInProgress ? 1 : 0);