Class 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 Detail

      • intent

        public Intent intent
      • requestCode

        public int requestCode
      • options

        public Bundle options
    • Constructor Detail

      • IntentForResult

        public IntentForResult​(Intent intent,
                               int requestCode)
      • IntentForResult

        public IntentForResult​(Intent intent,
                               int requestCode,
                               Bundle options)