NetworkRequest.Builder.SetSubscriptionIds(ICollection<Integer>) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
必要なサブスクリプション識別子を設定します。
[Android.Runtime.Register("setSubscriptionIds", "(Ljava/util/Set;)Landroid/net/NetworkRequest$Builder;", "GetSetSubscriptionIds_Ljava_util_Set_Handler", ApiSince=35)]
public virtual Android.Net.NetworkRequest.Builder SetSubscriptionIds(System.Collections.Generic.ICollection<Java.Lang.Integer> subIds);
[<Android.Runtime.Register("setSubscriptionIds", "(Ljava/util/Set;)Landroid/net/NetworkRequest$Builder;", "GetSetSubscriptionIds_Ljava_util_Set_Handler", ApiSince=35)>]
abstract member SetSubscriptionIds : System.Collections.Generic.ICollection<Java.Lang.Integer> -> Android.Net.NetworkRequest.Builder
override this.SetSubscriptionIds : System.Collections.Generic.ICollection<Java.Lang.Integer> -> Android.Net.NetworkRequest.Builder
パラメーター
- subIds
- ICollection<Integer>
必要なサブスクリプション ID の null 以外のセット。 空のセットは、サブスクリプション ID のないネットワークを含むすべてのネットワークと一致します。
返品
このビルダー。
- 属性
注釈
空でないサブスクリプション ID セットで要求を登録するには、 NETWORK_FACTORY アクセス許可が必要です。