Package org.robolectric.fakes
Class RoboIntentSender
java.lang.Object
android.content.IntentSender
org.robolectric.fakes.RoboIntentSender
- All Implemented Interfaces:
Parcelable
Robolectric implementation of
IntentSender
.-
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 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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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, isImmutable, readIntentSenderOrNullFromParcel, sendIntent, 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 Details
-
intent
-
-
Constructor Details
-
RoboIntentSender
-
-
Method Details
-
equals
- 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
-
getPendingIntent
-