語言

PackageInfo.Services 屬性

定義

包含應用程式中所有android.R.styleable#AndroidManifestService <service>標籤<>的陣列,若沒有標籤則為空。

[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>標籤<>的陣列,若沒有標籤則為空。 只有在 PackageManager#GET_SERVICES 標記被設定時才會填入。

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

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於