语言

PackageInfo.Services 属性

定义

应用程序>中包含的<所有android.R.styleable#AndroidManifestService <service>标记的数组,如果没有标记,则为 null。

[Android.Runtime.Register("services")]
public System.Collections.Generic.IList<Android.Content.PM.ServiceInfo>? Services { get; set; }
[<Android.Runtime.Register("services")>]
member this.Services : System.Collections.Generic.IList<Android.Content.PM.ServiceInfo> with get, set

属性值

请求 null 服务信息或没有服务信息时返回的服务声明。

特性

注解

应用程序>中包含的<所有android.R.styleable#AndroidManifestService <service>标记的数组,如果没有标记,则为 null。 仅当设置了标志时,才会填充此标记 PackageManager#GET_SERVICES 。

Java文档android.content.pm.PackageInfo.services。

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

适用于