android.app
Class Notification

java.lang.Object
  extended by android.app.Notification
All Implemented Interfaces:
Parcelable

public class Notification
extends Object
implements Parcelable


Nested Class Summary
static class Notification.BigPictureStyle
           
static class Notification.BigTextStyle
           
static class Notification.Builder
           
static class Notification.InboxStyle
           
static class Notification.Style
           
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
 int audioStreamType
           
 RemoteViews bigContentView
           
 PendingIntent contentIntent
           
 RemoteViews contentView
           
static Parcelable.Creator<Notification> CREATOR
           
static int DEFAULT_ALL
           
static int DEFAULT_LIGHTS
           
static int DEFAULT_SOUND
           
static int DEFAULT_VIBRATE
           
 int defaults
           
 PendingIntent deleteIntent
           
static int FLAG_AUTO_CANCEL
           
static int FLAG_FOREGROUND_SERVICE
           
static int FLAG_HIGH_PRIORITY
          Deprecated. 
static int FLAG_INSISTENT
           
static int FLAG_NO_CLEAR
           
static int FLAG_ONGOING_EVENT
           
static int FLAG_ONLY_ALERT_ONCE
           
static int FLAG_SHOW_LIGHTS
           
 int flags
           
 PendingIntent fullScreenIntent
           
 int icon
           
 int iconLevel
           
 Bitmap largeIcon
           
 int ledARGB
           
 int ledOffMS
           
 int ledOnMS
           
 int number
           
 int priority
           
static int PRIORITY_DEFAULT
           
static int PRIORITY_HIGH
           
static int PRIORITY_LOW
           
static int PRIORITY_MAX
           
static int PRIORITY_MIN
           
 Uri sound
           
static int STREAM_DEFAULT
           
 CharSequence tickerText
           
 RemoteViews tickerView
           
 long[] vibrate
           
 long when
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
Notification()
           
Notification(int icon, CharSequence tickerText, long when)
          Deprecated. 
Notification(Parcel parcel)
           
 
Method Summary
 Notification clone()
           
 int describeContents()
           
 void setLatestEventInfo(Context context, CharSequence contentTitle, CharSequence contentText, PendingIntent contentIntent)
          Deprecated. 
 String toString()
           
 void writeToParcel(Parcel parcel, int flags)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_ALL

public static final int DEFAULT_ALL
See Also:
Constant Field Values

DEFAULT_SOUND

public static final int DEFAULT_SOUND
See Also:
Constant Field Values

DEFAULT_VIBRATE

public static final int DEFAULT_VIBRATE
See Also:
Constant Field Values

DEFAULT_LIGHTS

public static final int DEFAULT_LIGHTS
See Also:
Constant Field Values

when

public long when

icon

public int icon

iconLevel

public int iconLevel

number

public int number

contentIntent

public PendingIntent contentIntent

deleteIntent

public PendingIntent deleteIntent

fullScreenIntent

public PendingIntent fullScreenIntent

tickerText

public CharSequence tickerText

tickerView

public RemoteViews tickerView

contentView

public RemoteViews contentView

bigContentView

public RemoteViews bigContentView

largeIcon

public Bitmap largeIcon

sound

public Uri sound

STREAM_DEFAULT

public static final int STREAM_DEFAULT
See Also:
Constant Field Values

audioStreamType

public int audioStreamType

vibrate

public long[] vibrate

ledARGB

public int ledARGB

ledOnMS

public int ledOnMS

ledOffMS

public int ledOffMS

defaults

public int defaults

FLAG_SHOW_LIGHTS

public static final int FLAG_SHOW_LIGHTS
See Also:
Constant Field Values

FLAG_ONGOING_EVENT

public static final int FLAG_ONGOING_EVENT
See Also:
Constant Field Values

FLAG_INSISTENT

public static final int FLAG_INSISTENT
See Also:
Constant Field Values

FLAG_ONLY_ALERT_ONCE

public static final int FLAG_ONLY_ALERT_ONCE
See Also:
Constant Field Values

FLAG_AUTO_CANCEL

public static final int FLAG_AUTO_CANCEL
See Also:
Constant Field Values

FLAG_NO_CLEAR

public static final int FLAG_NO_CLEAR
See Also:
Constant Field Values

FLAG_FOREGROUND_SERVICE

public static final int FLAG_FOREGROUND_SERVICE
See Also:
Constant Field Values

FLAG_HIGH_PRIORITY

@Deprecated
public static final int FLAG_HIGH_PRIORITY
Deprecated. 
See Also:
Constant Field Values

flags

public int flags

PRIORITY_DEFAULT

public static final int PRIORITY_DEFAULT
See Also:
Constant Field Values

PRIORITY_LOW

public static final int PRIORITY_LOW
See Also:
Constant Field Values

PRIORITY_MIN

public static final int PRIORITY_MIN
See Also:
Constant Field Values

PRIORITY_HIGH

public static final int PRIORITY_HIGH
See Also:
Constant Field Values

PRIORITY_MAX

public static final int PRIORITY_MAX
See Also:
Constant Field Values

priority

public int priority

CREATOR

public static final Parcelable.Creator<Notification> CREATOR
Constructor Detail

Notification

public Notification()

Notification

@Deprecated
public Notification(int icon,
                               CharSequence tickerText,
                               long when)
Deprecated. 


Notification

public Notification(Parcel parcel)
Method Detail

clone

public Notification clone()
Overrides:
clone in class Object

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

writeToParcel

public void writeToParcel(Parcel parcel,
                          int flags)
Specified by:
writeToParcel in interface Parcelable

setLatestEventInfo

@Deprecated
public void setLatestEventInfo(Context context,
                                          CharSequence contentTitle,
                                          CharSequence contentText,
                                          PendingIntent contentIntent)
Deprecated. 


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012. All Rights Reserved.