EuiccManager.UpdateSubscriptionNickname(Int32, String, PendingIntent) 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.
Update the nickname for the given subscription.
[Android.Runtime.Register("updateSubscriptionNickname", "(ILjava/lang/String;Landroid/app/PendingIntent;)V", "GetUpdateSubscriptionNickname_ILjava_lang_String_Landroid_app_PendingIntent_Handler", ApiSince=29)]
[Android.Runtime.RequiresPermission("android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS")]
public virtual void UpdateSubscriptionNickname (int subscriptionId, string? nickname, Android.App.PendingIntent callbackIntent);
[<Android.Runtime.Register("updateSubscriptionNickname", "(ILjava/lang/String;Landroid/app/PendingIntent;)V", "GetUpdateSubscriptionNickname_ILjava_lang_String_Landroid_app_PendingIntent_Handler", ApiSince=29)>]
[<Android.Runtime.RequiresPermission("android.permission.WRITE_EMBEDDED_SUBSCRIPTIONS")>]
abstract member UpdateSubscriptionNickname : int * string * Android.App.PendingIntent -> unit
override this.UpdateSubscriptionNickname : int * string * Android.App.PendingIntent -> unit
Parameters
- subscriptionId
- Int32
the ID of the subscription to update.
- nickname
- String
the new nickname to apply.
- callbackIntent
- PendingIntent
a PendingIntent to launch when the operation completes.
- Attributes
Remarks
Update the nickname for the given subscription.
Requires that the calling app has carrier privileges according to the metadata of the profile to be updated, or the android.Manifest.permission#WRITE_EMBEDDED_SUBSCRIPTIONS
permission.
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.