Freigeben über


WifiManager.StaConcurrencyForMultiInternetMode Property

Definition

The device may support concurrent connections to multiple internet-providing Wi-Fi networks (APs) - that is indicated by WifiManager#isStaConcurrencyForMultiInternetSupported().

public virtual int StaConcurrencyForMultiInternetMode { [Android.Runtime.Register("getStaConcurrencyForMultiInternetMode", "()I", "GetGetStaConcurrencyForMultiInternetModeHandler", ApiSince=33)] [Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")] get; }
[<get: Android.Runtime.Register("getStaConcurrencyForMultiInternetMode", "()I", "GetGetStaConcurrencyForMultiInternetModeHandler", ApiSince=33)>]
[<get: Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")>]
member this.StaConcurrencyForMultiInternetMode : int

Property Value

Attributes

Remarks

The device may support concurrent connections to multiple internet-providing Wi-Fi networks (APs) - that is indicated by WifiManager#isStaConcurrencyForMultiInternetSupported(). This method indicates whether or not the feature is currently enabled. A value of WifiManager#WIFI_MULTI_INTERNET_MODE_DISABLED indicates that the feature is disabled, a value of WifiManager#WIFI_MULTI_INTERNET_MODE_DBS_AP or WifiManager#WIFI_MULTI_INTERNET_MODE_MULTI_AP indicates that the feature is enabled.

The app can register to receive the corresponding Wi-Fi networks using the ConnectivityManager#registerNetworkCallback(NetworkRequest, NetworkCallback) API with a WifiNetworkSpecifier configured using the WifiNetworkSpecifier.Builder#setBand(int) method.

Java documentation for android.net.wifi.WifiManager.getStaConcurrencyForMultiInternetMode().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to