ForegroundService Enumerazione
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Questa enumerazione supporta una combinazione bit per bit dei rispettivi valori dei membri.
[System.Flags]
public enum ForegroundService
[<System.Flags>]
type ForegroundService =
- Ereditarietà
-
ForegroundService
- Attributi
Campi
| Nome | Valore | Descrizione |
|---|---|---|
| TypeManifest | -1 | |
| TypeNone | 0 | |
| TypeDataSync | 1 | |
| TypeMediaPlayback | 2 | |
| TypePhoneCall | 4 | |
| TypeLocation | 8 | |
| TypeConnectedDevice | 16 | |
| TypeMediaProjection | 32 | |
| TypeCamera | 64 | |
| TypeMicrophone | 128 | |
| TypeHealth | 256 | |
| TypeRemoteMessaging | 512 | |
| TypeSystemExempted | 1024 | |
| TypeShortService | 2048 | |
| TypeMediaProcessing | 8192 | |
| TypeSpecialUse | 1073741824 |