Compartilhar via


ServiceInfo.ForegroundServiceTypeManifest Campo

Definição

Cuidado

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

Um valor especial indica usar todos os tipos definidos no arquivo de manifesto.

[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 do campo

Value = -1

Implementações

Atributos

Comentários

Um valor especial indica usar todos os tipos definidos no arquivo de manifesto.

Documentação Java para android.content.pm.ServiceInfo.FOREGROUND_SERVICE_TYPE_MANIFEST.

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Android Open Source Project e usado de acordo com os termos descritos na Creative Commons 2.5 Attribution License.

Aplica-se a