开启、关闭中英混合功能,代码如下:
if (DWIMECore.init(DWIMECore.DWL_Chinese, keyType==26 ? DWIMECore.DWKBT_QWERTY : DWIMECore.DWKBT_DIGIT, DWIMECore.DWIM_PINYIN) == DWIMECore.DWR_OK) { // 开启拼音可以混合英文的功能,1 开启,0关闭 DWIMECore.setOption(DWIMECore.DWIME_OPTIONS_ENMIX, 1); }