Android Guides | Samples

Android.App.StartCommandFlags Enumeration

Enumerates values returned by the StartCommandFlags.Redelivery, and StartCommandFlags.Retry members and taken as a parameter of the Service.OnStartCommand, and SettingInjectorService.OnStartCommand members.

Syntax

[System.Flags]
public enum StartCommandFlags

Remarks

Enumerates values returned by the StartCommandFlags.Redelivery, and StartCommandFlags.Retry members and taken as a parameter of the Service.OnStartCommand, and SettingInjectorService.OnStartCommand members.

Members

Member NameDescription
RedeliveryThis flag is set in Service.OnStartCommand(Intent,StartCommandFlags,StartCommandFlags) if the Intent is a re-delivery of a previously delivered intent, because the service had previously returned StartCommandResult.RedeliverIntent but had been killed before calling Service.StopSelf(Int32) for that Intent.
RetryThis flag is set in Service.OnStartCommand(Intent,StartCommandFlags,StartCommandFlags) if the Intent is a a retry because the original attempt never got to or returned from Service.OnStartCommand(Intent,StartCommandFlags,StartCommandFlags).

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.App.StartCommandFlags are listed below.

See Also: Enum

Public Fields

RedeliveryStartCommandFlags. This flag is set in Service.OnStartCommand(Intent,StartCommandFlags,StartCommandFlags) if the Intent is a re-delivery of a previously delivered intent, because the service had previously returned StartCommandResult.RedeliverIntent but had been killed before calling Service.StopSelf(Int32) for that Intent.
RetryStartCommandFlags. This flag is set in Service.OnStartCommand(Intent,StartCommandFlags,StartCommandFlags) if the Intent is a a retry because the original attempt never got to or returned from Service.OnStartCommand(Intent,StartCommandFlags,StartCommandFlags).