Notification.Builder.SetCustomBigContentView(RemoteViews) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供自定义 RemoteViews 以使用,而不是扩展窗体中的平台模板。
[Android.Runtime.Register("setCustomBigContentView", "(Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;", "GetSetCustomBigContentView_Landroid_widget_RemoteViews_Handler", ApiSince=24)]
public virtual Android.App.Notification.Builder SetCustomBigContentView(Android.Widget.RemoteViews? contentView);
[<Android.Runtime.Register("setCustomBigContentView", "(Landroid/widget/RemoteViews;)Landroid/app/Notification$Builder;", "GetSetCustomBigContentView_Landroid_widget_RemoteViews_Handler", ApiSince=24)>]
abstract member SetCustomBigContentView : Android.Widget.RemoteViews -> Android.App.Notification.Builder
override this.SetCustomBigContentView : Android.Widget.RemoteViews -> Android.App.Notification.Builder
参数
- contentView
- RemoteViews
RemoteViews
返回
此 Android.App.Notification.Builder 实例允许链接调用。
- 特性
注解
提供自定义 RemoteViews 以使用,而不是扩展窗体中的平台模板。 这将覆盖此 Builder 对象将构造的扩展布局。 注意:视图层次结构的最大内存使用量限制为 5MB。
Android 参考。android.app.Notification.Builder.setCustomBigContentView
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。