语言

PackageInstaller.ActiveStagedSessions 属性

定义

返回活动暂存会话的列表。

public virtual System.Collections.Generic.IList<Android.Content.PM.PackageInstaller.SessionInfo> ActiveStagedSessions { [Android.Runtime.Register("getActiveStagedSessions", "()Ljava/util/List;", "GetGetActiveStagedSessionsHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getActiveStagedSessions", "()Ljava/util/List;", "GetGetActiveStagedSessionsHandler", ApiSince=30)>]
member this.ActiveStagedSessions : System.Collections.Generic.IList<Android.Content.PM.PackageInstaller.SessionInfo>

属性值

暂存会话记录其活动暂存谓词为 true,或者无匹配时为空列表。

特性

注解

返回活动暂存会话的列表。 如果没有,则返回空列表。

有关哪些会话被视为处于活动状态的详细信息,请参阅 * SessionInfo#isStagedSessionActive()。

Java文档android.content.pm.PackageInstaller.getActiveStagedSessions()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于