Code example for InputMethodInfo

Methods: getSubtypeCount

0
 
        if (inputMethodInfo == null) {
            return false; 
        } 
 
        return inputMethodInfo.getSubtypeCount() > 0;
    } 
 
    @Override 
    public void onStartInputView() { 
        // Empty. Voice IME pastes the recognition result directly into the text 
        // view 
    } 
}