Back to project page watchme.
The source code is released under:
Copyright (c) 2012 Johan Brook, Robin Andersson, Lisa Stenberg, Mattias Henriksson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documen...
If you think the Android project watchme listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * Notifiable.java/*ww w . j a va 2s. c o m*/ * * Interface for describing classes that may be used in * notifications on a specific date. * * @author Johan Brook * @copyright (c) 2012 Johan Brook, Robin Andersson, Lisa Stenberg, Mattias Henriksson * @license MIT */ package se.chalmers.watchme.notifications; public interface Notifiable { /** * The notification id for this object. * * Must be unique within the system (suggestion is to use hashCode()). * * @return An id */ public int getNotificationId(); /** * Get the date in milliseconds. Used to set the timestamp * of the notification. * * @return The date to trigger */ public long getDateInMilliSeconds(); /** * The short string representation of this notifiable object. * * @return The title to represent in the notification */ public String getTitle(); }