Udostępnij za pośrednictwem


Activity.ContentScene Property

Definition

Retrieve the Scene representing this window's current content.

public virtual Android.Transitions.Scene? ContentScene { [Android.Runtime.Register("getContentScene", "()Landroid/transition/Scene;", "GetGetContentSceneHandler")] get; }
[<get: Android.Runtime.Register("getContentScene", "()Landroid/transition/Scene;", "GetGetContentSceneHandler")>]
member this.ContentScene : Android.Transitions.Scene

Property Value

Current Scene being shown or null

Attributes

Remarks

Retrieve the Scene representing this window's current content. Requires Window#FEATURE_CONTENT_TRANSITIONS.

This method will return null if the current content is not represented by a Scene.

Java documentation for android.app.Activity.getContentScene().

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