| Modifier and Type | Field and Description |
|---|---|
static ContextKey |
INTENT_KEY
Key into the Context that represents the Intent.
|
| Constructor and Description |
|---|
IntentContext(Context parent,
Intent intent) |
IntentContext(Intent intent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Special equality: Object may be equal to an object without associated Intent.
|
ContextItem |
get(ContextKey name)
Looks up a ContextKey in the Context.
|
Intent |
getIntent() |
int |
hashCode() |
String |
toString() |
public static final ContextKey INTENT_KEY
public IntentContext(Intent intent)
public ContextItem get(ContextKey name)
get in interface ContextIllegalArgumentException - if the name is null.public boolean equals(Object obj)
public Intent getIntent()