PackageInstaller.SessionInfo.IsActive Property
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.
Return if this session is currently active.
public virtual bool IsActive { [Android.Runtime.Register("isActive", "()Z", "GetIsActiveHandler")] get; }
[<get: Android.Runtime.Register("isActive", "()Z", "GetIsActiveHandler")>]
member this.IsActive : bool
Property Value
- Attributes
Remarks
Return if this session is currently active.
A session is considered active whenever there is ongoing forward progress being made, such as the installer holding an open Session
instance while streaming data into place, or the system optimizing code as the result of Session#commit(IntentSender)
.
If the installer closes the Session
without committing, the session is considered inactive until the installer opens the session again.
Java documentation for android.content.pm.PackageInstaller.SessionInfo.isActive()
.
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.