Scene.GetCurrentScene(ViewGroup) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得給定 ViewGroup 的當前 Scene 集合。
[Android.Runtime.Register("getCurrentScene", "(Landroid/view/ViewGroup;)Landroid/transition/Scene;", "", ApiSince=29)]
public static Android.Transitions.Scene? GetCurrentScene(Android.Views.ViewGroup sceneRoot);
[<Android.Runtime.Register("getCurrentScene", "(Landroid/view/ViewGroup;)Landroid/transition/Scene;", "", ApiSince=29)>]
static member GetCurrentScene : Android.Views.ViewGroup -> Android.Transitions.Scene
參數
- sceneRoot
- ViewGroup
該ViewGroup將在此平台回傳當前場景
傳回
目前的場景設定在這個 ViewGroup 上。 空值表示目前沒有場景被設定。
- 屬性
備註
取得給定 ViewGroup 的當前 Scene 集合。 只有當 ViewGroup 是場景根節點時,場景才會被設定在 ViewGroup。
Java 文件 android.transition.Scene.getCurrentScene(android.view.ViewGroup)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。