PackageInstaller.SessionParams.SetSize(Int64) 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.
Optionally indicate the total size (in bytes) of all APKs that will be delivered in this session.
[Android.Runtime.Register("setSize", "(J)V", "GetSetSize_JHandler")]
public virtual void SetSize (long sizeBytes);
[<Android.Runtime.Register("setSize", "(J)V", "GetSetSize_JHandler")>]
abstract member SetSize : int64 -> unit
override this.SetSize : int64 -> unit
Parameters
- sizeBytes
- Int64
- Attributes
Remarks
Optionally indicate the total size (in bytes) of all APKs that will be delivered in this session. The system may use this to ensure enough disk space exists before proceeding, or to estimate container size for installations living on external storage.
Java documentation for android.content.pm.PackageInstaller.SessionParams.setSize(long)
.
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.