Activity.ParentActivityIntent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Obtain an Intent
that will launch an explicit target activity specified by
this activity's logical parent.
public virtual Android.Content.Intent? ParentActivityIntent { [Android.Runtime.Register("getParentActivityIntent", "()Landroid/content/Intent;", "GetGetParentActivityIntentHandler")] get; }
[<get: Android.Runtime.Register("getParentActivityIntent", "()Landroid/content/Intent;", "GetGetParentActivityIntentHandler")>]
member this.ParentActivityIntent : Android.Content.Intent
Property Value
a new Intent targeting the defined parent of this activity or null if there is no valid parent.
- Attributes
Remarks
Obtain an Intent
that will launch an explicit target activity specified by this activity's logical parent. The logical parent is named in the application's manifest by the android.R.attr#parentActivityName parentActivityName
attribute. Activity subclasses may override this method to modify the Intent returned by super.getParentActivityIntent() or to implement a different mechanism of retrieving the parent intent entirely.
Java documentation for android.app.Activity.getParentActivityIntent()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.