SubscriptionManager.AddSubscriptionsIntoGroup Method
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.
Add a list of subscriptions into a group.
[Android.Runtime.Register("addSubscriptionsIntoGroup", "(Ljava/util/List;Landroid/os/ParcelUuid;)V", "GetAddSubscriptionsIntoGroup_Ljava_util_List_Landroid_os_ParcelUuid_Handler", ApiSince=29)]
[Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")]
public virtual void AddSubscriptionsIntoGroup (System.Collections.Generic.IList<Java.Lang.Integer> subIdList, Android.OS.ParcelUuid groupUuid);
[<Android.Runtime.Register("addSubscriptionsIntoGroup", "(Ljava/util/List;Landroid/os/ParcelUuid;)V", "GetAddSubscriptionsIntoGroup_Ljava_util_List_Landroid_os_ParcelUuid_Handler", ApiSince=29)>]
[<Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")>]
abstract member AddSubscriptionsIntoGroup : System.Collections.Generic.IList<Java.Lang.Integer> * Android.OS.ParcelUuid -> unit
override this.AddSubscriptionsIntoGroup : System.Collections.Generic.IList<Java.Lang.Integer> * Android.OS.ParcelUuid -> unit
Parameters
- groupUuid
- ParcelUuid
the groupUuid the subscriptions are being added to.
- Attributes
Remarks
Add a list of subscriptions into a group. See #createSubscriptionGroup(List)
for more details.
Caller will either have android.Manifest.permission#MODIFY_PHONE_STATE
permission or had carrier privilege permission on the subscriptions: TelephonyManager#hasCarrierPrivileges()
or #canManageSubscription(SubscriptionInfo)
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.