Udostępnij za pośrednictwem


PackageInstaller.Session.RemoveSplit(String) Method

Definition

Removes a split.

[Android.Runtime.Register("removeSplit", "(Ljava/lang/String;)V", "GetRemoveSplit_Ljava_lang_String_Handler", ApiSince=24)]
public virtual void RemoveSplit (string splitName);
[<Android.Runtime.Register("removeSplit", "(Ljava/lang/String;)V", "GetRemoveSplit_Ljava_lang_String_Handler", ApiSince=24)>]
abstract member RemoveSplit : string -> unit
override this.RemoveSplit : string -> unit

Parameters

splitName
String
Attributes

Remarks

Removes a split.

Split removals occur prior to adding new APKs. If upgrading a feature split, it is not expected nor desirable to remove the split prior to upgrading.

When split removal is bundled with new APKs, the packageName must be identical.

Java documentation for android.content.pm.PackageInstaller.Session.removeSplit(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