Share via


ActivityOptions.MakeLaunchIntoPip(PictureInPictureParams) Method

Definition

Creates an ActivityOptions instance that launch into picture-in-picture.

[Android.Runtime.Register("makeLaunchIntoPip", "(Landroid/app/PictureInPictureParams;)Landroid/app/ActivityOptions;", "", ApiSince=33)]
public static Android.App.ActivityOptions MakeLaunchIntoPip (Android.App.PictureInPictureParams pictureInPictureParams);
[<Android.Runtime.Register("makeLaunchIntoPip", "(Landroid/app/PictureInPictureParams;)Landroid/app/ActivityOptions;", "", ApiSince=33)>]
static member MakeLaunchIntoPip : Android.App.PictureInPictureParams -> Android.App.ActivityOptions

Parameters

pictureInPictureParams
PictureInPictureParams

PictureInPictureParams for launching the Activity to picture-in-picture mode.

Returns

Attributes

Remarks

Creates an ActivityOptions instance that launch into picture-in-picture. This is normally used by a Host activity to start another activity that will directly enter picture-in-picture upon its creation.

Java documentation for android.app.ActivityOptions.makeLaunchIntoPip(android.app.PictureInPictureParams).

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