public class NotificationFriend extends SwarmNotification
SwarmNotification.NotificationType
Modifier and Type | Field and Description |
---|---|
boolean |
accepted
True if the friend has accepted the friend request, false otherwise.
|
SwarmUser |
friend
The SwarmUser for the friend notification.
|
data, id, type
Modifier and Type | Method and Description |
---|---|
int |
getIconId(Context context) |
java.lang.String |
getMessage(Context context) |
java.lang.String |
getTitle(Context context) |
getLogoIconId, getView
public SwarmUser friend
public boolean accepted
public int getIconId(Context context)
getIconId
in class SwarmNotification
public java.lang.String getTitle(Context context)
getTitle
in class SwarmNotification
public java.lang.String getMessage(Context context)
getMessage
in class SwarmNotification