Share via


Activity.InitialCaller Property

Definition

Returns the ComponentCaller instance of the app that initially launched this activity.

public virtual Android.App.ComponentCaller InitialCaller { [Android.Runtime.Register("getInitialCaller", "()Landroid/app/ComponentCaller;", "GetGetInitialCallerHandler", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getInitialCaller", "()Landroid/app/ComponentCaller;", "GetGetInitialCallerHandler", ApiSince=35)>]
member this.InitialCaller : Android.App.ComponentCaller

Property Value

ComponentCaller instance

Attributes

Remarks

Returns the ComponentCaller instance of the app that initially launched this activity.

Note that calls to #onNewIntent have no effect on the returned value of this method.

Java documentation for android.app.Activity.getInitialCaller().

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.

Applies to