Compartir a través de


ServiceInfo.ForegroundServiceTypeManifest Campo

Definición

Precaución

This constant will be removed in the future version. Use Android.Content.PM.ForegroundService enum directly instead of this field.

Un valor especial indica que se usan todos los tipos establecidos en el archivo de manifiesto.

[Android.Runtime.Register("FOREGROUND_SERVICE_TYPE_MANIFEST", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ForegroundService enum directly instead of this field.", true)]
public const Android.Content.PM.ForegroundService ForegroundServiceTypeManifest = -1;
[<Android.Runtime.Register("FOREGROUND_SERVICE_TYPE_MANIFEST", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ForegroundService enum directly instead of this field.", true)>]
val mutable ForegroundServiceTypeManifest : Android.Content.PM.ForegroundService

Valor de campo

Value = -1

Implementaciones

Atributos

Comentarios

Un valor especial indica que se usan todos los tipos establecidos en el archivo de manifiesto.

Documentación de Java para android.content.pm.ServiceInfo.FOREGROUND_SERVICE_TYPE_MANIFEST.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el proyecto de código abierto de Android y se usan según los términos descritos en la licencia de atribución de Creative Commons 2.5.

Se aplica a