PackageInstaller.Session.AddChildSessionId(Int32) Method

Definition

Adds a session ID to the set of sessions that will be committed atomically when this session is committed.

[Android.Runtime.Register("addChildSessionId", "(I)V", "GetAddChildSessionId_IHandler", ApiSince=29)]
public virtual void AddChildSessionId (int sessionId);
[<Android.Runtime.Register("addChildSessionId", "(I)V", "GetAddChildSessionId_IHandler", ApiSince=29)>]
abstract member AddChildSessionId : int -> unit
override this.AddChildSessionId : int -> unit

Parameters

sessionId
Int32

the session ID to add to this multi-package session.

Attributes

Remarks

Adds a session ID to the set of sessions that will be committed atomically when this session is committed.

If the parent is staged or has rollback enabled, all children must have the same properties.

If the parent is abandoned, all children will also be abandoned.

Java documentation for android.content.pm.PackageInstaller.Session.addChildSessionId(int).

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