Scene.GetCurrentScene(ViewGroup) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the current Scene
set on the given ViewGroup.
[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
Parameters
- sceneRoot
- ViewGroup
The ViewGroup on which the current scene will be returned
Returns
The current Scene set on this ViewGroup. A value of null indicates that no Scene is currently set.
- Attributes
Remarks
Gets the current Scene
set on the given ViewGroup. A scene is set on a ViewGroup only if that ViewGroup is the scene root.
Java documentation for android.transition.Scene.getCurrentScene(android.view.ViewGroup)
.
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.