Activity.ContentScene 属性

定义

Scene检索表示此窗口当前内容的 。

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

属性值

正在显示的当前场景或 null

属性

注解

Scene检索表示此窗口当前内容的 。 需要 Window#FEATURE_CONTENT_TRANSITIONS

如果当前内容不由场景表示,则此方法将返回 null。

android.app.Activity.getContentScene()Java 文档。

此页面的某些部分是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的条款使用。

适用于