Code example for ExtractedText

        boolean result = super.setComposingRegion(start, end);
        return result;
    private ExtractedTextRequest mUpdateRequest;
    private final ExtractedText mUpdateExtract = new ExtractedText();
    public ExtractedText getExtractedText(ExtractedTextRequest req, int flags) {
        if(DEBUG) Log.e(LOGTAG, "getExtractedText");
        if(!Exec.isInsertMode()) { 
            return null; 
        if (req == null)
            return null; 
        final Editable content = getEditable();
        if (content == null)
            return null; 
Connect your IDE to all the code out there  Get Codota for Java