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 to
ShadowCrossProfileApps.startMainActivity(ComponentName,
UserHandle)
or ShadowCrossProfileApps.startActivity(ComponentName, UserHandle)
, ShadowCrossProfileApps.startActivity(Intent, UserHandle, Activity)
, ShadowCrossProfileApps.startActivity(Intent, UserHandle,
Activity, Bundle)
.
Note: equals(java.lang.Object)
and hashCode()
are only defined for the ComponentName
and UserHandle
.
-
Constructor Summary
Constructors Constructor Description StartedActivity(ComponentName componentName, UserHandle userHandle)
StartedActivity(ComponentName componentName, UserHandle userHandle, Intent intent, Activity activity, Bundle options)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
Activity
getActivity()
ComponentName
getComponentName()
Intent
getIntent()
Bundle
getOptions()
UserHandle
getUserHandle()
int
hashCode()
-
Constructor Details
-
StartedActivity
-
StartedActivity
public StartedActivity(ComponentName componentName, UserHandle userHandle, @Nullable Intent intent, @Nullable Activity activity, @Nullable Bundle options)
-
-
Method Details
-
getComponentName
-
getUserHandle
-
getIntent
-
getOptions
-
getActivity
-
equals
-
hashCode
public int hashCode()
-