API Diff Specification
To Version: Android SDK 0.9_r1
From Version: Android SDK m5-rc14
Generated 2008.08.14 15:44

Class android.app.Notification

Removed Constructors
android.app(Context, int, CharSequence, long, CharSequence, CharSequence, Intent, int, CharSequence, Intent) Constructs a Notification object with the information needed to have a status bar icon and the standard expanded view.
 

Added Constructors
Notification(int, CharSequence, long) Constructs a Notification object with the information needed to have a status bar icon without the standard expanded view.
 

Added Methods
int describeContents()  
void setLatestEventInfo(Context, CharSequence, CharSequence, PendingIntent) Sets the .contentView field to be a view with the standard "Latest Event" layout.
 

Changed Methods
String toString() Method was inherited from java.lang.Object, but is now defined locally.  
void writeToParcel(Parcel, int) Change in signature from Parcel to (Parcel, int).
Flatten this notification from a parcel.
 

Removed Fields
Intent appIntent The intent to execute when the app icon is clicked.
RemoteViews expandedView The view that shows when this notification is shown in the expanded status bar.
boolean insistent If true, audio and vibration will be repeated until the notification is cancelled.
boolean lights Set to true if you want the LED on for this notification.
boolean ongoingEvent True if this notification is in reference to something that is ongoing, like a phone call.
 

Added Fields
int DEFAULT_ALL Use all default values (where applicable).
int DEFAULT_LIGHTS Use the default notification lights.
int DEFAULT_SOUND Use the default notification sound.
int DEFAULT_VIBRATE Use the default notification vibrate.
int FLAG_AUTO_CANCEL Bit to be bitwise-ored into the .flags field that should be set if the notification should be canceled when it is clicked by the user.
int FLAG_INSISTENT Bit to be bitwise-ored into the .flags field that if set, the audio and vibration will be repeated until the notification is cancelled.
int FLAG_NO_CLEAR Bit to be bitwise-ored into the .flags field that should be set if the notification should not be canceled when the user clicks the Clear all button.
int FLAG_ONGOING_EVENT Bit to be bitwise-ored into the .flags field that should be set if this notification is in reference to something that is ongoing, like a phone call.
int FLAG_ONLY_ALERT_ONCE Bit to be bitwise-ored into the .flags field that should be set if you want the sound and/or vibration play each time the notification is sent, even if it has not been canceled before that.
int FLAG_SHOW_LIGHTS Bit to be bitwise-ored into the .flags field that should be set if you want the LED on for this notification.
int STREAM_DEFAULT Use this constant as the value for audioStreamType to request that the default stream type for notifications be used.
int audioStreamType The audio stream type to use when playing the sound.
RemoteViews contentView The view that shows when this notification is shown in the expanded status bar.
int defaults Specifies which values should be taken from the defaults.
PendingIntent deleteIntent The intent to execute when the status entry is deleted by the user with the "Clear All Notifications" button.
int flags  
int number The number of events that this notification represents.
 

Changed Fields
PendingIntent contentIntent Change in type from Intent to PendingIntent.
The intent to execute when the expanded status entry is clicked.
 

©2008 Google - Code Home - Site Terms of Service - Privacy Policy
Generated by JDiff