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: PictureInPictureParams for launching the Activity to picture-in-picture mode. This value cannot be null.

Returns

This Android.App.ActivityOptions instance, allowing calls to be chained.

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.

Android reference for android.app.ActivityOptions.makeLaunchIntoPip.

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