什么是正确的"功能"在ConnectivityManager中用于TYPE_WIFI?

时间:2014-04-04 13:59:26

标签: android wifi android-networking

我需要在android中使用ConnectivityManager.startUsingNetworkFeature(...)方法,如果我将TYPE_WIFI作为第一个参数传递,我需要传递哪个功能作为第二个参数?

1 个答案:

答案 0 :(得分:-1)

他们是:

// "Features" accessible through the connectivity manager
static final String FEATURE_ENABLE_MMS = "enableMMS";
static final String FEATURE_ENABLE_SUPL = "enableSUPL";
static final String FEATURE_ENABLE_DUN = "enableDUN";
static final String FEATURE_ENABLE_HIPRI = "enableHIPRI";
static final String FEATURE_ENABLE_DUN_ALWAYS = "enableDUNAlways";
static final String FEATURE_ENABLE_FOTA = "enableFOTA";
static final String FEATURE_ENABLE_IMS = "enableIMS";
static final String FEATURE_ENABLE_CBS = "enableCBS";

取自here