Notification.Builder.CreateBigContentView Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Construct a RemoteViews representing the expanded notification layout.
[Android.Runtime.Register("createBigContentView", "()Landroid/widget/RemoteViews;", "GetCreateBigContentViewHandler", ApiSince=24)]
public virtual Android.Widget.RemoteViews? CreateBigContentView ();
[<Android.Runtime.Register("createBigContentView", "()Landroid/widget/RemoteViews;", "GetCreateBigContentViewHandler", ApiSince=24)>]
abstract member CreateBigContentView : unit -> Android.Widget.RemoteViews
override this.CreateBigContentView : unit -> Android.Widget.RemoteViews
Returns
- Attributes
Remarks
Construct a RemoteViews representing the expanded notification layout.
This member is deprecated. For performance and system health reasons, this API is no longer required to be used directly by the System UI when rendering Notifications to the user. While the UI returned by this method will still represent the content of the Notification being built, it may differ from the visual style of the system.
NOTE: this API has always had severe limitations; for example it does not support any interactivity, it ignores the app theme, it hard-codes the colors from the system theme at the time it is called, and it does Bitmap decoding on the main thread which can cause UI jank.
Java documentation for android.app.Notification.Builder.createBigContentView()
.
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.