public static class NotificationCompat.Builder extends NotificationCompat.Builder
NotificationCompat
. In addition to the builder in v4, this
builder also supports NotificationCompat.MediaStyle
.mActions, mContentInfo, mContentText, mContentTitle, mContext, mLargeIcon, mNotification, mNumber, mPeople, mRemoteInputHistory, mStyle, mSubText, mUseChronometer
Modifier and Type | Method and Description |
---|---|
protected NotificationCompat.BuilderExtender |
getExtender() |
protected CharSequence |
resolveText() |
protected CharSequence |
resolveTitle() |
addAction, addAction, addExtras, addPerson, build, extend, getBigContentView, getColor, getContentView, getExtras, getHeadsUpContentView, getNotification, getPriority, getWhenIfShowing, limitCharSequenceLength, setAutoCancel, setCategory, setColor, setContent, setContentInfo, setContentIntent, setContentText, setContentTitle, setCustomBigContentView, setCustomContentView, setCustomHeadsUpContentView, setDefaults, setDeleteIntent, setExtras, setFullScreenIntent, setGroup, setGroupSummary, setLargeIcon, setLights, setLocalOnly, setNumber, setOngoing, setOnlyAlertOnce, setPriority, setProgress, setPublicVersion, setRemoteInputHistory, setShowWhen, setSmallIcon, setSmallIcon, setSortKey, setSound, setSound, setStyle, setSubText, setTicker, setTicker, setUsesChronometer, setVibrate, setVisibility, setWhen
public Builder(Context context)
protected CharSequence resolveText()
resolveText
in class NotificationCompat.Builder
protected CharSequence resolveTitle()
resolveTitle
in class NotificationCompat.Builder
protected NotificationCompat.BuilderExtender getExtender()
getExtender
in class NotificationCompat.Builder