public enum IntentDeliveryMode extends java.lang.Enum<IntentDeliveryMode>
IntentDeliveryMode is an enumeration defining the
method by which the intent is delivered.
The type is one of:
| START_ACTIVITY | Intent delivered via StartActivity |
| START_SERVICE | Intent delivered via StartService |
| BROADCAST | Broadcast Intent |
| Enum Constant and Description |
|---|
BROADCAST
Sends an Intent using broadcastIntent to invoke registered broadcast receivers
|
START_ACTIVITY
Sends an Intent using startActivity to invoke an Activity
|
START_SERVICE
Sends an Intent using startService to initiate operation of a Service
|
| Modifier and Type | Method and Description |
|---|---|
static IntentDeliveryMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IntentDeliveryMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntentDeliveryMode START_ACTIVITY
public static final IntentDeliveryMode START_SERVICE
public static final IntentDeliveryMode BROADCAST
public static IntentDeliveryMode[] values()
for (IntentDeliveryMode c : IntentDeliveryMode.values()) System.out.println(c);
public static IntentDeliveryMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null