Freigeben über


Notification.ExtraBackgroundImageUri Field

Definition

#extras key: flat String representation of a android.content.ContentUris content URI pointing to an image that can be displayed in the background when the notification is selected.

[Android.Runtime.Register("EXTRA_BACKGROUND_IMAGE_URI")]
public const string ExtraBackgroundImageUri;
[<Android.Runtime.Register("EXTRA_BACKGROUND_IMAGE_URI")>]
val mutable ExtraBackgroundImageUri : string

Field Value

Implements

Attributes

Remarks

#extras key: flat String representation of a android.content.ContentUris content URI pointing to an image that can be displayed in the background when the notification is selected. Used on television platforms. The URI must point to an image stream suitable for passing into android.graphics.BitmapFactory#decodeStream(java.io.InputStream) BitmapFactory.decodeStream; all other content types will be ignored.

Java documentation for android.app.Notification.EXTRA_BACKGROUND_IMAGE_URI.

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