Android.App.Activity.CallingActivity Property
Return the name of the activity that invoked this activity.

Syntax

[get: Android.Runtime.Register("getCallingActivity", "()Landroid/content/ComponentName;", "GetGetCallingActivityHandler")]
public virtual Android.Content.ComponentName CallingActivity { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Return the name of the activity that invoked this activity. This is who the data in Activity.SetResult(Result) will be sent to. You can use this information to validate that the recipient is allowed to receive the data.

Note: if the calling activity is not expecting a result (that is it did not use the Activity.StartActivityForResult(Android.Content.Intent, System.Int32) form that includes a request code), then the calling package will be null.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1