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-network

返回的还是13(LTE)

就是有些厂商没有兼容?

你可能感兴趣的:(5G网络类型 ?)