共用方式為


ServiceInfo.Flags Property

Definition

Options that have been set in the service declaration in the manifest.

[Android.Runtime.Register("flags")]
public Android.Content.PM.ServiceInfoFlags Flags { get; set; }
[<Android.Runtime.Register("flags")>]
member this.Flags : Android.Content.PM.ServiceInfoFlags with get, set

Property Value

Attributes

Remarks

Options that have been set in the service declaration in the manifest. These include: #FLAG_STOP_WITH_TASK, #FLAG_ISOLATED_PROCESS, #FLAG_SINGLE_USER.

Java documentation for android.content.pm.ServiceInfo.flags.

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.

Applies to