Activity.ContentScene 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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 文档。
此页面的某些部分是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的条款使用。