Language

PackageInstaller.SessionInfo.Progress Property

Definition

Return current overall progress of this session, between 0 and 1.

public virtual float Progress { [Android.Runtime.Register("getProgress", "()F", "GetGetProgressHandler")] get; }
[<get: Android.Runtime.Register("getProgress", "()F", "GetGetProgressHandler")>]
member this.Progress : single

Property Value

The recorded overall progress from zero to one, which can differ from the installer's staging progress.

Attributes

Remarks

Return current overall progress of this session, between 0 and 1.

Note that this progress may not directly correspond to the value reported by PackageInstaller.Session#setStagingProgress(float), as the system may carve out a portion of the overall progress to represent its own internal installation work.

Java documentation for android.content.pm.PackageInstaller.SessionInfo.getProgress().

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