5G网络类型 ?

        TelephonyManager telephonyManager = (TelephonyManager)
                context.getSystemService(Context.TELEPHONY_SERVICE);
        int networkType = telephonyManager.getNetworkType();
        if (TelephonyManager.NETWORK_TYPE_NR ==networkType) {
            // 5G
        }    

看介绍:https://stackoverflow.com/questions/55598359/how-to-detect-samsung-s10-5g-is-running-on-5g-networkspa

返回的仍是13(LTE)code

就是有些厂商没有兼容?blog

相关文章
相关标签/搜索