Partager via


FragmentController.DispatchPictureInPictureModeChanged Method

Definition

Overloads

DispatchPictureInPictureModeChanged(Boolean)

Lets all Fragments managed by the controller's FragmentManager know the picture-in-picture mode of the activity changed.

DispatchPictureInPictureModeChanged(Boolean, Configuration)

Lets all Fragments managed by the controller's FragmentManager know the picture-in-picture mode of the activity changed.

DispatchPictureInPictureModeChanged(Boolean)

Lets all Fragments managed by the controller's FragmentManager know the picture-in-picture mode of the activity changed.

[Android.Runtime.Register("dispatchPictureInPictureModeChanged", "(Z)V", "GetDispatchPictureInPictureModeChanged_ZHandler", ApiSince=24)]
public virtual void DispatchPictureInPictureModeChanged (bool isInPictureInPictureMode);
[<Android.Runtime.Register("dispatchPictureInPictureModeChanged", "(Z)V", "GetDispatchPictureInPictureModeChanged_ZHandler", ApiSince=24)>]
abstract member DispatchPictureInPictureModeChanged : bool -> unit
override this.DispatchPictureInPictureModeChanged : bool -> unit

Parameters

isInPictureInPictureMode
Boolean
Attributes

Remarks

Lets all Fragments managed by the controller's FragmentManager know the picture-in-picture mode of the activity changed.

Call when the picture-in-picture mode of the activity changed.

This member is deprecated. use #dispatchPictureInPictureModeChanged(boolean, Configuration)

Java documentation for android.app.FragmentController.dispatchPictureInPictureModeChanged(boolean).

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

DispatchPictureInPictureModeChanged(Boolean, Configuration)

Lets all Fragments managed by the controller's FragmentManager know the picture-in-picture mode of the activity changed.

[Android.Runtime.Register("dispatchPictureInPictureModeChanged", "(ZLandroid/content/res/Configuration;)V", "GetDispatchPictureInPictureModeChanged_ZLandroid_content_res_Configuration_Handler", ApiSince=26)]
public virtual void DispatchPictureInPictureModeChanged (bool isInPictureInPictureMode, Android.Content.Res.Configuration? newConfig);
[<Android.Runtime.Register("dispatchPictureInPictureModeChanged", "(ZLandroid/content/res/Configuration;)V", "GetDispatchPictureInPictureModeChanged_ZLandroid_content_res_Configuration_Handler", ApiSince=26)>]
abstract member DispatchPictureInPictureModeChanged : bool * Android.Content.Res.Configuration -> unit
override this.DispatchPictureInPictureModeChanged : bool * Android.Content.Res.Configuration -> unit

Parameters

isInPictureInPictureMode
Boolean
newConfig
Configuration
Attributes

Remarks

Lets all Fragments managed by the controller's FragmentManager know the picture-in-picture mode of the activity changed.

Call when the picture-in-picture mode of the activity changed.

Java documentation for android.app.FragmentController.dispatchPictureInPictureModeChanged(boolean, android.content.res.Configuration).

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