Package org.robolectric.fakes
Class RoboIntentSender
- java.lang.Object
-
- android.content.IntentSender
-
- org.robolectric.fakes.RoboIntentSender
-
- All Implemented Interfaces:
Parcelable
public class RoboIntentSender extends IntentSender
Robolectric implementation ofIntentSender
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class android.content.IntentSender
IntentSender.OnFinished, IntentSender.SendIntentException
-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.ContentsFlags, Parcelable.Creator<T extends Object>, Parcelable.Stability, Parcelable.WriteFlags
-
-
Field Summary
Fields Modifier and Type Field Description Intent
intent
-
Fields inherited from class android.content.IntentSender
CREATOR
-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_STABILITY_LOCAL, PARCELABLE_STABILITY_VINTF, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Constructor Description RoboIntentSender(PendingIntent pendingIntent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
int
hashCode()
void
sendIntent(Context context, int code, Intent intent, IntentSender.OnFinished onFinished, Handler handler, String requiredPermission)
-
Methods inherited from class android.content.IntentSender
describeContents, getCreatorPackage, getCreatorUid, getCreatorUserHandle, getTarget, getTargetPackage, getWhitelistToken, readIntentSenderOrNullFromParcel, sendIntent, toString, writeIntentSenderOrNullToParcel, writeToParcel
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface android.os.Parcelable
getStability
-
-
-
-
Field Detail
-
intent
public Intent intent
-
-
Constructor Detail
-
RoboIntentSender
public RoboIntentSender(PendingIntent pendingIntent)
-
-
Method Detail
-
equals
public boolean equals(Object other)
- Overrides:
equals
in classIntentSender
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classIntentSender
-
sendIntent
public void sendIntent(Context context, int code, Intent intent, IntentSender.OnFinished onFinished, Handler handler, String requiredPermission) throws IntentSender.SendIntentException
- Overrides:
sendIntent
in classIntentSender
- Throws:
IntentSender.SendIntentException
-
-