WifiInfo.SubscriptionId Property
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.
If this network is provisioned by a carrier, returns subscription Id corresponding to the associated SIM on the device.
public virtual int SubscriptionId { [Android.Runtime.Register("getSubscriptionId", "()I", "GetGetSubscriptionIdHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getSubscriptionId", "()I", "GetGetSubscriptionIdHandler", ApiSince=31)>]
member this.SubscriptionId : int
Property Value
- Attributes
Remarks
If this network is provisioned by a carrier, returns subscription Id corresponding to the associated SIM on the device. If this network is not provisioned by a carrier, returns android.telephony.SubscriptionManager#INVALID_SUBSCRIPTION_ID
Java documentation for android.net.wifi.WifiInfo.getSubscriptionId()
.
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.