Instrumentation.CallActivityOnPictureInPictureRequested(Activity) Method

Definition

Perform calling of an activity's Activity#onPictureInPictureRequested method.

[Android.Runtime.Register("callActivityOnPictureInPictureRequested", "(Landroid/app/Activity;)V", "GetCallActivityOnPictureInPictureRequested_Landroid_app_Activity_Handler", ApiSince=30)]
public virtual void CallActivityOnPictureInPictureRequested (Android.App.Activity activity);
[<Android.Runtime.Register("callActivityOnPictureInPictureRequested", "(Landroid/app/Activity;)V", "GetCallActivityOnPictureInPictureRequested_Landroid_app_Activity_Handler", ApiSince=30)>]
abstract member CallActivityOnPictureInPictureRequested : Android.App.Activity -> unit
override this.CallActivityOnPictureInPictureRequested : Android.App.Activity -> unit

Parameters

activity
Activity

The activity being notified that picture-in-picture is being requested.

Attributes

Remarks

Perform calling of an activity's Activity#onPictureInPictureRequested method. The default implementation simply calls through to that method.

Java documentation for android.app.Instrumentation.callActivityOnPictureInPictureRequested(android.app.Activity).

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