Udostępnij za pośrednictwem


ServiceInfoFlags Enum

Definition

Enumerates values returned by several types.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum ServiceInfoFlags
[<System.Flags>]
type ServiceInfoFlags = 
Inheritance
ServiceInfoFlags
Attributes

Fields

Name Value Description
StopWithTask 1
IsolatedProcess 2

Bit in Flags: If set, the service will run in its own isolated process.

ExternalService 4
UseAppZygote 8
AllowSharedIsolatedProcess 16
SingleUser 1073741824

Bit in Flags: If set, a single instance of the service will run for all users on the device.

Remarks

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