Sdílet prostřednictvím


Activity.SetPictureInPictureParams(PictureInPictureParams) Method

Definition

Updates the properties of the picture-in-picture activity, or sets it to be used later when #enterPictureInPictureMode() is called.

[Android.Runtime.Register("setPictureInPictureParams", "(Landroid/app/PictureInPictureParams;)V", "GetSetPictureInPictureParams_Landroid_app_PictureInPictureParams_Handler", ApiSince=26)]
public virtual void SetPictureInPictureParams (Android.App.PictureInPictureParams params);
[<Android.Runtime.Register("setPictureInPictureParams", "(Landroid/app/PictureInPictureParams;)V", "GetSetPictureInPictureParams_Landroid_app_PictureInPictureParams_Handler", ApiSince=26)>]
abstract member SetPictureInPictureParams : Android.App.PictureInPictureParams -> unit
override this.SetPictureInPictureParams : Android.App.PictureInPictureParams -> unit

Parameters

params
PictureInPictureParams

the new parameters for the picture-in-picture.

Attributes

Remarks

Updates the properties of the picture-in-picture activity, or sets it to be used later when #enterPictureInPictureMode() is called.

Java documentation for android.app.Activity.setPictureInPictureParams(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