语言

PackageInstaller.Session.GetChildSessionIds 方法

定义

获取此会话的子安装会话的 ID。

[Android.Runtime.Register("getChildSessionIds", "()[I", "GetGetChildSessionIdsHandler", ApiSince=29)]
public virtual int[] GetChildSessionIds();
[<Android.Runtime.Register("getChildSessionIds", "()[I", "GetGetChildSessionIdsHandler", ApiSince=29)>]
abstract member GetChildSessionIds : unit -> int[]
override this.GetChildSessionIds : unit -> int[]

返回

Int32[]

如果这是多包会话,则此会话提交时将原子提交会话 ID 集;如果不存在,则为 null。

特性

注解

Java文档android.content.pm.PackageInstaller.Session.getChildSessionIds()。

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

适用于