Share via


NetworkCapabilities.SubscriptionIds Property

Definition

Gets the subscription ID set that associated to this network or request.

public System.Collections.Generic.ICollection<Java.Lang.Integer> SubscriptionIds { [Android.Runtime.Register("getSubscriptionIds", "()Ljava/util/Set;", "", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getSubscriptionIds", "()Ljava/util/Set;", "", ApiSince=35)>]
member this.SubscriptionIds : System.Collections.Generic.ICollection<Java.Lang.Integer>

Property Value

Attributes

Remarks

Gets the subscription ID set that associated to this network or request.

Instances of NetworkCapabilities will only have this field populated by the system if the receiver holds the NETWORK_FACTORY permission. In all other cases, it will be the empty set.

Java documentation for android.net.NetworkCapabilities.getSubscriptionIds().

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