public class NotificationOnline extends SwarmNotification
SwarmNotification.NotificationType
Modifier and Type | Field and Description |
---|---|
SwarmApplication |
app
The SwarmApplication that the user's friend just opened or just exited.
|
boolean |
online
True if the user is online, false otherwise.
|
SwarmUser |
user
The SwarmUser displayed in the online 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 SwarmApplication app
public SwarmUser user
public boolean online
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