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 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.WriteFlags
-
Field Summary
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
Constructors Constructor Description RoboIntentSender(PendingIntent pendingIntent)
-
Method Summary
Modifier and Type Method Description void
sendIntent(Context context, int code, Intent intent, IntentSender.OnFinished onFinished, Handler handler, String requiredPermission)
Methods inherited from class android.content.IntentSender
describeContents, equals, getCreatorPackage, getCreatorUid, getCreatorUserHandle, getTarget, getTargetPackage, getWhitelistToken, hashCode, readIntentSenderOrNullFromParcel, sendIntent, toString, writeIntentSenderOrNullToParcel, writeToParcel
-
Field Details
-
Constructor Details
-
Method Details
-
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
-