Share via


PackageInstaller.SessionParams.SetInstallScenario(Int32) Method

Definition

Sets the install scenario for this session, which describes the expected user journey.

[Android.Runtime.Register("setInstallScenario", "(I)V", "GetSetInstallScenario_IHandler", ApiSince=31)]
public virtual void SetInstallScenario (int installScenario);
[<Android.Runtime.Register("setInstallScenario", "(I)V", "GetSetInstallScenario_IHandler", ApiSince=31)>]
abstract member SetInstallScenario : int -> unit
override this.SetInstallScenario : int -> unit

Parameters

installScenario
Int32
Attributes

Remarks

Sets the install scenario for this session, which describes the expected user journey.

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