Class RoboIntentSender

  • All Implemented Interfaces:
    android.os.Parcelable

    public class RoboIntentSender
    extends android.content.IntentSender
    Robolectric implementation of IntentSender.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class android.content.IntentSender

        android.content.IntentSender.OnFinished, android.content.IntentSender.SendIntentException
      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.ContentsFlags, android.os.Parcelable.Creator<T extends java.lang.Object>, android.os.Parcelable.WriteFlags
    • Field Summary

      Fields 
      Modifier and Type Field Description
      android.content.Intent intent  
      • Fields inherited from class android.content.IntentSender

        CREATOR
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
    • Constructor Summary

      Constructors 
      Constructor Description
      RoboIntentSender​(android.app.PendingIntent pendingIntent)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void sendIntent​(android.content.Context context, int code, android.content.Intent intent, android.content.IntentSender.OnFinished onFinished, android.os.Handler handler, java.lang.String requiredPermission)  
      • Methods inherited from class android.content.IntentSender

        describeContents, equals, getCreatorPackage, getCreatorUid, getCreatorUserHandle, getTarget, getTargetPackage, getWhitelistToken, hashCode, readIntentSenderOrNullFromParcel, sendIntent, toString, writeIntentSenderOrNullToParcel, writeToParcel
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • intent

        public android.content.Intent intent
    • Constructor Detail

      • RoboIntentSender

        public RoboIntentSender​(android.app.PendingIntent pendingIntent)
    • Method Detail

      • sendIntent

        public void sendIntent​(android.content.Context context,
                               int code,
                               android.content.Intent intent,
                               android.content.IntentSender.OnFinished onFinished,
                               android.os.Handler handler,
                               java.lang.String requiredPermission)
                        throws android.content.IntentSender.SendIntentException
        Overrides:
        sendIntent in class android.content.IntentSender
        Throws:
        android.content.IntentSender.SendIntentException