Package org.robolectric.shadows
Class ShadowCrossProfileApps.StartedActivity
- java.lang.Object
-
- org.robolectric.shadows.ShadowCrossProfileApps.StartedActivity
-
- Enclosing class:
- ShadowCrossProfileApps
public static final class ShadowCrossProfileApps.StartedActivity extends Object
Container object to hold parameters passed toShadowCrossProfileApps.startMainActivity(ComponentName, UserHandle)
orShadowCrossProfileApps.startActivity(ComponentName, UserHandle)
,ShadowCrossProfileApps.startActivity(Intent, UserHandle, Activity)
,ShadowCrossProfileApps.startActivity(Intent, UserHandle, Activity, Bundle)
.Note:
equals(java.lang.Object)
andhashCode()
are only defined for theComponentName
andUserHandle
.
-
-
Constructor Summary
Constructors Constructor Description StartedActivity(ComponentName componentName, UserHandle userHandle)
StartedActivity(ComponentName componentName, UserHandle userHandle, Intent intent, Activity activity, Bundle options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Activity
getActivity()
ComponentName
getComponentName()
Intent
getIntent()
Bundle
getOptions()
UserHandle
getUserHandle()
int
hashCode()
-
-
-
Constructor Detail
-
StartedActivity
public StartedActivity(ComponentName componentName, UserHandle userHandle)
-
StartedActivity
public StartedActivity(ComponentName componentName, UserHandle userHandle, @Nullable Intent intent, @Nullable Activity activity, @Nullable Bundle options)
-
-
Method Detail
-
getComponentName
public ComponentName getComponentName()
-
getUserHandle
public UserHandle getUserHandle()
-
-