Language

NetworkRequest.Builder.SetSubscriptionIds(ICollection<Integer>) メソッド

定義

必要なサブスクリプション識別子を設定します。

[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 アクセス許可が必要です。

Javaドキュメント。

適用対象