NotificationTarget
Constructor using a Notification object and a notificationId to get a handle on the Notification in order to update it that uses SIZE_ORIGINAL as the target width and height.
Parameters
Context to use in the AppWidgetManager initialization.
The id of the ImageView view that will load the image.
RemoteViews object which contains the ImageView that will load the bitmap.
The Notification object that we want to update.
The notificationId of the Notification that we want to load the Bitmap.
Constructor using a Notification object, a notificationId, and a notificationTag to get a handle on the Notification in order to update it that uses SIZE_ORIGINAL as the target width and height.
Parameters
Context to use in the AppWidgetManager initialization.
The id of the ImageView view that will load the image.
RemoteViews object which contains the ImageView that will load the bitmap.
The Notification object that we want to update.
The notificationId of the Notification that we want to load the Bitmap.
The notificationTag of the Notification that we want to load the Bitmap. May be null
.
Constructor using a Notification object, a notificationId, and a notificationTag to get a handle on the Notification in order to update it.
Parameters
Context to use in the AppWidgetManager initialization.
Desired width of the bitmap that will be loaded.(Need to be manually put because of RemoteViews limitations.)
Desired height of the bitmap that will be loaded. (Need to be manually put because of RemoteViews limitations.)
The id of the ImageView view that will load the image.
RemoteViews object which contains the ImageView that will load the bitmap.
The Notification object that we want to update.
The notificationId of the Notification that we want to load the Bitmap.
The notificationTag of the Notification that we want to load the Bitmap. May be null
.