PackageInstaller.SessionCallback.OnProgressChanged(Int32, Single) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.