Class ShadowActivity.IntentForResult

java.lang.Object
org.robolectric.shadows.ShadowActivity.IntentForResult
Enclosing class:
ShadowActivity

public static class ShadowActivity.IntentForResult extends Object
Container object to hold an Intent, together with the requestCode used in a call to Activity.startActivityForResult(Intent, int)
  • Field Details

    • intent

      public Intent intent
    • requestCode

      public int requestCode
    • options

      public Bundle options
  • Constructor Details

    • IntentForResult

      public IntentForResult(Intent intent, int requestCode)
    • IntentForResult

      public IntentForResult(Intent intent, int requestCode, Bundle options)
  • Method Details