共用方式為


WifiManager.IsCarrierNetworkOffloadEnabled(Int32, Boolean) Method

Definition

[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
merged
Boolean

Returns

Attributes

Applies to