Share via


PackageInstaller.SessionCallback.OnProgressChanged(Int32, Single) Method

Definition

Progress for given session has been updated.

[Android.Runtime.Register("onProgressChanged", "(IF)V", "GetOnProgressChanged_IFHandler")]
public abstract void OnProgressChanged (int sessionId, float progress);
[<Android.Runtime.Register("onProgressChanged", "(IF)V", "GetOnProgressChanged_IFHandler")>]
abstract member OnProgressChanged : int * single -> unit

Parameters

sessionId
Int32
progress
Single
Attributes

Remarks

Progress for given session has been updated.

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.SessionCallback.onProgressChanged(int, float).

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