語言

FragmentController.DispatchPictureInPictureModeChanged 方法

定義

多載

名稱 Description
DispatchPictureInPictureModeChanged(Boolean)

讓所有由控制器 FragmentManager 管理的片段知道活動的畫中畫模式已改變。

DispatchPictureInPictureModeChanged(Boolean, Configuration)

讓所有由控制器 FragmentManager 管理的片段知道活動的畫中畫模式已改變。

DispatchPictureInPictureModeChanged(Boolean)

讓所有由控制器 FragmentManager 管理的片段知道活動的畫中畫模式已改變。

[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

參數

isInPictureInPictureMode
Boolean

boolean

屬性

備註

此方法在 API 等級 26 中被淘汰。 使用 dispatchPictureInPictureModeChanged(boolean,Configuration)

讓所有由控制器 FragmentManager 管理的片段知道活動的畫中畫模式已改變。 當畫中畫模式改變時,請打電話。

另請參閱:

Android 參考資料。android.app.FragmentController.dispatchPictureInPictureModeChanged

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

DispatchPictureInPictureModeChanged(Boolean, Configuration)

讓所有由控制器 FragmentManager 管理的片段知道活動的畫中畫模式已改變。

[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

參數

isInPictureInPictureMode
Boolean

boolean

newConfig
Configuration

設定

屬性

備註

讓所有由控制器 FragmentManager 管理的片段知道活動的畫中畫模式已改變。 當畫中畫模式改變時,請打電話。

另請參閱:

Android 參考資料。android.app.FragmentController.dispatchPictureInPictureModeChanged

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於