Notification.ContentView 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
deprecated
将在通知列表中表示此通知的视图(从状态栏拉取)。
[Android.Runtime.Register("contentView")]
[System.Obsolete("deprecated")]
public Android.Widget.RemoteViews? ContentView { get; set; }
[<Android.Runtime.Register("contentView")>]
[<System.Obsolete("deprecated")>]
member this.ContentView : Android.Widget.RemoteViews with get, set
属性值
通知列表视图,或 null 未存储此类视图时。
- 特性
注解
将在通知列表中表示此通知的视图(从状态栏拉取)。 从 N 开始,此字段可能为 null。 通知视图由 Notification.Builder 的输入确定;可选择性地向自定义 RemoteView 提供 Notification.Builder.setCustomContentView(RemoteViews)。
Android 参考。android.app.Notification.contentView
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。