PackageManager.RelinquishUpdateOwnership(String) Method

Definition

Attempt to relinquish the update ownership of the given package.

[Android.Runtime.Register("relinquishUpdateOwnership", "(Ljava/lang/String;)V", "GetRelinquishUpdateOwnership_Ljava_lang_String_Handler", ApiSince=34)]
public virtual void RelinquishUpdateOwnership (string targetPackage);
[<Android.Runtime.Register("relinquishUpdateOwnership", "(Ljava/lang/String;)V", "GetRelinquishUpdateOwnership_Ljava_lang_String_Handler", ApiSince=34)>]
abstract member RelinquishUpdateOwnership : string -> unit
override this.RelinquishUpdateOwnership : string -> unit

Parameters

targetPackage
String

The installed package whose update owner will be changed.

Attributes

Remarks

Attempt to relinquish the update ownership of the given package. Only the current update owner of the given package can use this API.

Java documentation for android.content.pm.PackageManager.relinquishUpdateOwnership(java.lang.String).

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