WifiManager.IsCarrierNetworkOffloadEnabled(Int32, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the carrier network offload state for merged or unmerged networks for specified subscription.
[Android.Runtime.Register("isCarrierNetworkOffloadEnabled", "(IZ)Z", "GetIsCarrierNetworkOffloadEnabled_IZHandler", ApiSince=31)]
[Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")]
public virtual bool IsCarrierNetworkOffloadEnabled (int subscriptionId, bool merged);
[<Android.Runtime.Register("isCarrierNetworkOffloadEnabled", "(IZ)Z", "GetIsCarrierNetworkOffloadEnabled_IZHandler", ApiSince=31)>]
[<Android.Runtime.RequiresPermission("android.permission.ACCESS_WIFI_STATE")>]
abstract member IsCarrierNetworkOffloadEnabled : int * bool -> bool
override this.IsCarrierNetworkOffloadEnabled : int * bool -> bool
Parameters
- subscriptionId
- Int32
subscription ID see SubscriptionInfo#getSubscriptionId()
- merged
- Boolean
True for carrier merged network, false otherwise.
See WifiNetworkSuggestion.Builder#setCarrierMerged(boolean)
Returns
True to indicate that carrier network offload is enabled, false otherwise.
- Attributes
Remarks
Get the carrier network offload state for merged or unmerged networks for specified subscription.
Java documentation for android.net.wifi.WifiManager.isCarrierNetworkOffloadEnabled(int, boolean)
.
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.