Udostępnij za pośrednictwem


SubscriptionManager.RemoveSubscriptionsFromGroup Method

Definition

Remove a list of subscriptions from their subscription group.

[Android.Runtime.Register("removeSubscriptionsFromGroup", "(Ljava/util/List;Landroid/os/ParcelUuid;)V", "GetRemoveSubscriptionsFromGroup_Ljava_util_List_Landroid_os_ParcelUuid_Handler", ApiSince=29)]
[Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")]
public virtual void RemoveSubscriptionsFromGroup (System.Collections.Generic.IList<Java.Lang.Integer> subIdList, Android.OS.ParcelUuid groupUuid);
[<Android.Runtime.Register("removeSubscriptionsFromGroup", "(Ljava/util/List;Landroid/os/ParcelUuid;)V", "GetRemoveSubscriptionsFromGroup_Ljava_util_List_Landroid_os_ParcelUuid_Handler", ApiSince=29)>]
[<Android.Runtime.RequiresPermission("android.permission.MODIFY_PHONE_STATE")>]
abstract member RemoveSubscriptionsFromGroup : System.Collections.Generic.IList<Java.Lang.Integer> * Android.OS.ParcelUuid -> unit
override this.RemoveSubscriptionsFromGroup : System.Collections.Generic.IList<Java.Lang.Integer> * Android.OS.ParcelUuid -> unit

Parameters

subIdList
IList<Integer>

list of subId that need removing from their groups.

groupUuid
ParcelUuid

The UUID of the subscription group.

Attributes

Remarks

Remove a list of subscriptions from their subscription group.

Caller will either have android.Manifest.permission#MODIFY_PHONE_STATE permission or has carrier privilege permission on all of the subscriptions provided in subIdList.

Java documentation for android.telephony.SubscriptionManager.removeSubscriptionsFromGroup(java.util.List<java.lang.Integer>, android.os.ParcelUuid).

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