Język

Notification.WearableExtender.SetBackground(Bitmap) Method

Definition

Sets the legacy background only when its compatibility change permits storage.

[Android.Runtime.Register("setBackground", "(Landroid/graphics/Bitmap;)Landroid/app/Notification$WearableExtender;", "")]
public Android.App.Notification.WearableExtender? SetBackground(Android.Graphics.Bitmap? background);
[<Android.Runtime.Register("setBackground", "(Landroid/graphics/Bitmap;)Landroid/app/Notification$WearableExtender;", "")>]
member this.SetBackground : Android.Graphics.Bitmap -> Android.App.Notification.WearableExtender

Parameters

background
Bitmap

The bitmap to retain as a legacy background; ignored when the background-storage compatibility change is enabled.

Returns

This extender, whether or not the bitmap was stored.

Attributes

Remarks

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.

Applies to