Skip navigation links
A B C D E G H I N O P R S T U V 

A

AbstractUserNotification - Class in com.github.kaiwinter.androidremotenotifications.model.impl
Abstract implementation of UserNotification which implements common functionality.
AbstractUserNotification() - Constructor for class com.github.kaiwinter.androidremotenotifications.model.impl.AbstractUserNotification
 
AbstractUserNotification(NotificationConfiguration) - Constructor for class com.github.kaiwinter.androidremotenotifications.model.impl.AbstractUserNotification
 
AlertDialogNotification - Class in com.github.kaiwinter.androidremotenotifications.model.impl
Shows a Notification in an AlertDialog.
AlertDialogNotification() - Constructor for class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
 
AlertDialogNotification(NotificationConfiguration) - Constructor for class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
 

B

ButtonAction - Interface in com.github.kaiwinter.androidremotenotifications.model.buttonaction
Provides an action which will be carried out by the selection of a button.

C

clearPersistentNotifications() - Method in class com.github.kaiwinter.androidremotenotifications.persistence.impl.SharedPreferencesStore
 
clearPersistentNotifications() - Method in interface com.github.kaiwinter.androidremotenotifications.persistence.NotificationStore
Removes all notifications from the store.
com.github.kaiwinter.androidremotenotifications - package com.github.kaiwinter.androidremotenotifications
 
com.github.kaiwinter.androidremotenotifications.json - package com.github.kaiwinter.androidremotenotifications.json
 
com.github.kaiwinter.androidremotenotifications.model - package com.github.kaiwinter.androidremotenotifications.model
 
com.github.kaiwinter.androidremotenotifications.model.buttonaction - package com.github.kaiwinter.androidremotenotifications.model.buttonaction
 
com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl - package com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl
 
com.github.kaiwinter.androidremotenotifications.model.impl - package com.github.kaiwinter.androidremotenotifications.model.impl
 
com.github.kaiwinter.androidremotenotifications.network - package com.github.kaiwinter.androidremotenotifications.network
 
com.github.kaiwinter.androidremotenotifications.persistence - package com.github.kaiwinter.androidremotenotifications.persistence
 
com.github.kaiwinter.androidremotenotifications.persistence.impl - package com.github.kaiwinter.androidremotenotifications.persistence.impl
 

D

doInBackground(Void...) - Method in class com.github.kaiwinter.androidremotenotifications.network.NotificationLoaderTask
 

E

equals(Object) - Method in interface com.github.kaiwinter.androidremotenotifications.model.buttonaction.ButtonAction
 
equals(Object) - Method in class com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl.ExitAppButtonAction
 
equals(Object) - Method in class com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl.OpenStoreButtonAction
 
equals(Object) - Method in class com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl.OpenUrlButtonAction
 
equals(Object) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AbstractUserNotification
 
equals(Object) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
 
equals(Object) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.NotificationConfiguration
 
equals(Object) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.PersistentNotification
 
equals(Object) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.ToastNotification
 
execute(Context) - Method in interface com.github.kaiwinter.androidremotenotifications.model.buttonaction.ButtonAction
Executes the action of this button.
execute(Context) - Method in class com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl.ExitAppButtonAction
 
execute(Context) - Method in class com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl.OpenStoreButtonAction
 
execute(Context) - Method in class com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl.OpenUrlButtonAction
 
ExecutionPolicy - Enum in com.github.kaiwinter.androidremotenotifications.model
Defines when the notification is shown.
ExitAppButtonAction - Class in com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl
Ends the app.
ExitAppButtonAction() - Constructor for class com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl.ExitAppButtonAction
 

G

getDuration() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.ToastNotification
 
getExecutionPolicy() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.NotificationConfiguration
Returns when to show the notification.
getJsonFromNotifications(Set<UserNotification>) - Static method in class com.github.kaiwinter.androidremotenotifications.json.UnMarshaller
Creates a JSON string from a Set of UserNotifications.
getJsonFromPersistentNotifications(Set<PersistentNotification>) - Static method in class com.github.kaiwinter.androidremotenotifications.json.UnMarshaller
Creates a JSON string from a Set of PersistentNotifications.
getLastServerUpdate() - Method in class com.github.kaiwinter.androidremotenotifications.persistence.impl.SharedPreferencesStore
 
getLastServerUpdate() - Method in interface com.github.kaiwinter.androidremotenotifications.persistence.NotificationStore
Loads the date when the notifications was updated from the server the last time.
getLastShown() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.PersistentNotification
Returns the time when the notification was shown the last time.
getLink() - Method in class com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl.OpenUrlButtonAction
 
getMessage() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Returns the message of the AlertDialog.
getMessage() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.ToastNotification
 
getNegativeButtonAction() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Returns the Action to carry out when the user selects the negative button.
getNegativeButtonText() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Returns the caption of the negative button.
getNeutralButtonAction() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Returns the Action to carry out when the user selects the neutral button.
getNeutralButtonText() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Returns the caption of the neutral button.
getNotification() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.PersistentNotification
Returns the notification to show.
getNotificationConfiguration() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AbstractUserNotification
 
getNotificationConfiguration() - Method in interface com.github.kaiwinter.androidremotenotifications.model.UserNotification
Returns the NotificationConfiguration of this Notification.
getNotificationsFromJson(URL) - Static method in class com.github.kaiwinter.androidremotenotifications.json.UnMarshaller
Creates a Set of UserNotifications from JSON string which is queried from the given URL.
getNumberOfTotalViews() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.NotificationConfiguration
Returns the number of times the notification is shown in regards to executionPolicy (null=infinite).
getOnAllAfter() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.VersionCodePolicy
 
getOnAllBefore() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.VersionCodePolicy
 
getOnSpecific() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.VersionCodePolicy
 
getPackageName() - Method in class com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl.OpenStoreButtonAction
 
getPersistentNotifications() - Method in class com.github.kaiwinter.androidremotenotifications.persistence.impl.SharedPreferencesStore
 
getPersistentNotifications() - Method in interface com.github.kaiwinter.androidremotenotifications.persistence.NotificationStore
Loads all saved PersistentNotifications.
getPersistentNotificationsFromJson(String) - Static method in class com.github.kaiwinter.androidremotenotifications.json.UnMarshaller
Creates a Set of PersistentNotifications from a JSON string.
getPositiveButtonAction() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Returns the Action to carry out when the user selects the positive button.
getPositiveButtonText() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Returns the caption of the positive button.
getPreferenceStore() - Method in class com.github.kaiwinter.androidremotenotifications.RemoteNotifications
 
getShownCounter() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.PersistentNotification
Returns the number of times the notification was shown already.
getStartShowingDate() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.NotificationConfiguration
 
getTitle() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Returns the title of the AlertDialog.
getVersionCodePolicy() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.NotificationConfiguration
Returns the app version on which the notification is shown.

H

hasBeShownForThisVersion(int) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.VersionCodePolicy
Checks if one of onAllAfter, onAllBefore or onSpecific matches the given versionCode.
hashCode() - Method in interface com.github.kaiwinter.androidremotenotifications.model.buttonaction.ButtonAction
 
hashCode() - Method in class com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl.ExitAppButtonAction
 
hashCode() - Method in class com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl.OpenStoreButtonAction
 
hashCode() - Method in class com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl.OpenUrlButtonAction
 
hashCode() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AbstractUserNotification
 
hashCode() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
 
hashCode() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.NotificationConfiguration
 
hashCode() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.PersistentNotification
 
hashCode() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.ToastNotification
 
hasToBeShown(int) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.PersistentNotification
Checks whether the UserNotification has to be shown considering the NotificationConfiguration.

I

isModal() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Returns if the AlertDialog is modal.

N

NotificationConfiguration - Class in com.github.kaiwinter.androidremotenotifications.model.impl
Stores configurations for a Notification e.g. when and how often it is shown and on which app versions.
NotificationConfiguration() - Constructor for class com.github.kaiwinter.androidremotenotifications.model.impl.NotificationConfiguration
 
NotificationLoaderFinishListener - Interface in com.github.kaiwinter.androidremotenotifications.network
Listener to attach to RemoteNotifications.updateNotificationsFromServer(UpdatePolicy, NotificationLoaderFinishListener) to be informed when the update of the Notifications is finished.
NotificationLoaderTask - Class in com.github.kaiwinter.androidremotenotifications.network
AsyncTask to load notifications from a server.
NotificationLoaderTask(URL, NotificationLoaderFinishListener) - Constructor for class com.github.kaiwinter.androidremotenotifications.network.NotificationLoaderTask
Constructs a new NotificationLoaderTask.
NotificationStore - Interface in com.github.kaiwinter.androidremotenotifications.persistence
Interface for persisting notifications and configurations.

O

onDownloadFinished(Set<UserNotification>) - Method in interface com.github.kaiwinter.androidremotenotifications.network.NotificationLoaderFinishListener
Listener to attach to RemoteNotifications.updateNotificationsFromServer(UpdatePolicy, NotificationLoaderFinishListener) to be informed when the update of the Notifications is finished.
onPostExecute(Set<UserNotification>) - Method in class com.github.kaiwinter.androidremotenotifications.network.NotificationLoaderTask
 
OpenStoreButtonAction - Class in com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl
Opens an available store app.
OpenStoreButtonAction(String) - Constructor for class com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl.OpenStoreButtonAction
 
OpenUrlButtonAction - Class in com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl
Opens the link with the platform browser.
OpenUrlButtonAction(String) - Constructor for class com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl.OpenUrlButtonAction
 

P

PersistentNotification - Class in com.github.kaiwinter.androidremotenotifications.model.impl
A PersistentNotification is a UserNotification which can be stored in the shared preferences.
PersistentNotification(UserNotification) - Constructor for class com.github.kaiwinter.androidremotenotifications.model.impl.PersistentNotification
 

R

RemoteNotifications - Class in com.github.kaiwinter.androidremotenotifications
The starting class of this library.
RemoteNotifications(Context, URL) - Constructor for class com.github.kaiwinter.androidremotenotifications.RemoteNotifications
Constructs a new RemoteNotifications.
RemoteNotifications(Context, URL, String) - Constructor for class com.github.kaiwinter.androidremotenotifications.RemoteNotifications
Constructs a new RemoteNotifications.
replacePersistentNotifications(Set<PersistentNotification>) - Method in class com.github.kaiwinter.androidremotenotifications.persistence.impl.SharedPreferencesStore
 
replacePersistentNotifications(Set<PersistentNotification>) - Method in interface com.github.kaiwinter.androidremotenotifications.persistence.NotificationStore
Replaces the currently stored PersistentNotifications by the passed ones.

S

saveLastServerUpdate(Date) - Method in class com.github.kaiwinter.androidremotenotifications.persistence.impl.SharedPreferencesStore
 
saveLastServerUpdate(Date) - Method in interface com.github.kaiwinter.androidremotenotifications.persistence.NotificationStore
Saves the date when the notifications was updated from the server the last time.
setDuration(int) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.ToastNotification
Sets the Toast duration (either Toast.LENGTH_SHORT (0) or Toast.LENGTH_LONG (1).
setExecutionPolicy(ExecutionPolicy) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.NotificationConfiguration
Sets the ExecutionPolicy when to show the notification.
setLastShown(Date) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.PersistentNotification
Sets the time when the notification was shown the last time.
setMessage(String) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Sets the message of the AlertDialog.
setMessage(String) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.ToastNotification
Sets the Toast message.
setModal(boolean) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Sets if the AlertDialog is modal.
setNegativeButtonAction(ButtonAction) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Sets the Action to carry out when the user selects the negative button.
setNegativeButtonText(String) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Sets the caption of the negative button.
setNeutralButtonAction(ButtonAction) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Sets the Action to carry out when the user selects the neutral button.
setNeutralButtonText(String) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Sets the caption of the neutral button.
setNumberOfTotalViews(Integer) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.NotificationConfiguration
Sets the number of times the notification is shown in regards to executionPolicy (null=infinite).
setOnAllAfter(Integer) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.VersionCodePolicy
Set the versionCode after which the notification should be shown.
setOnAllBefore(Integer) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.VersionCodePolicy
Sets the versionCode before which the notification should be shown.
setOnSpecific(Collection<Integer>) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.VersionCodePolicy
Sets specific app versionCodes on which the notification should be shown.
setPositiveButtonAction(ButtonAction) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Sets the Action to carry out when the user selects the positive button.
setPositiveButtonText(String) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Sets the caption of the positive button.
setShownCounter(int) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.PersistentNotification
Sets the number of times the notification was shown already.
setStartShowingDate(Date) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.NotificationConfiguration
Set the date from which the notification will be shown.
setTitle(String) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
Sets the title of the AlertDialog.
setVersionCodePolicy(VersionCodePolicy) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.NotificationConfiguration
Sets the app version on which the notification is shown.
SharedPreferencesStore - Class in com.github.kaiwinter.androidremotenotifications.persistence.impl
Implementation of NotificationStore which utilizes Androids Shared Preferences.
SharedPreferencesStore(SharedPreferences) - Constructor for class com.github.kaiwinter.androidremotenotifications.persistence.impl.SharedPreferencesStore
Constructs a new SharedPreferencesStore and initializes it with the underlying SharedPreferences object.
shouldUpdate(Date) - Method in enum com.github.kaiwinter.androidremotenotifications.model.UpdatePolicy
Checks if the interval of this UpdatePolicy is over in regard to the lastUpdate.
show(Context) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
 
show(Context) - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.ToastNotification
 
show(Context) - Method in interface com.github.kaiwinter.androidremotenotifications.model.UserNotification
Shows the Notification to the user.
showPendingNotificationsToUser() - Method in class com.github.kaiwinter.androidremotenotifications.RemoteNotifications
Shows all due notifications.
showPendingNotificationsToUser(boolean) - Method in class com.github.kaiwinter.androidremotenotifications.RemoteNotifications
Shows due notifications.
start(Context, URL, UpdatePolicy) - Static method in class com.github.kaiwinter.androidremotenotifications.RemoteNotifications
Convenience method to update and show notifications.

T

TAG - Static variable in class com.github.kaiwinter.androidremotenotifications.RemoteNotifications
 
ToastNotification - Class in com.github.kaiwinter.androidremotenotifications.model.impl
A Notification which is shown as a Toast.
ToastNotification() - Constructor for class com.github.kaiwinter.androidremotenotifications.model.impl.ToastNotification
 
ToastNotification(NotificationConfiguration) - Constructor for class com.github.kaiwinter.androidremotenotifications.model.impl.ToastNotification
 
toString() - Method in class com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl.OpenStoreButtonAction
 
toString() - Method in class com.github.kaiwinter.androidremotenotifications.model.buttonaction.impl.OpenUrlButtonAction
 
toString() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.AlertDialogNotification
 
toString() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.PersistentNotification
 
toString() - Method in class com.github.kaiwinter.androidremotenotifications.model.impl.ToastNotification
 

U

UnMarshaller - Class in com.github.kaiwinter.androidremotenotifications.json
Utility class for marshalling and unmarshalling JSON and Notification objects.
UnMarshaller() - Constructor for class com.github.kaiwinter.androidremotenotifications.json.UnMarshaller
 
updateNotificationsFromServer(UpdatePolicy, NotificationLoaderFinishListener) - Method in class com.github.kaiwinter.androidremotenotifications.RemoteNotifications
Starts an AsyncTask which loads the notifications from the server, removes local notifications which doesn't exist anymore and adds new one.
updateNotificationsFromServer(UpdatePolicy) - Method in class com.github.kaiwinter.androidremotenotifications.RemoteNotifications
Starts an AsyncTask which loads the notifications from the server, removes local notifications which doesn't exist anymore and adds new one.
updatePersistentNotification(Set<PersistentNotification>) - Method in class com.github.kaiwinter.androidremotenotifications.persistence.impl.SharedPreferencesStore
 
updatePersistentNotification(Set<PersistentNotification>) - Method in interface com.github.kaiwinter.androidremotenotifications.persistence.NotificationStore
Updates the PersistentNotification in the NotificationStore with the given updatePersistentNotifications.
UpdatePolicy - Enum in com.github.kaiwinter.androidremotenotifications.model
Defines how often the notifications are updated from the server.
UserNotification - Interface in com.github.kaiwinter.androidremotenotifications.model
Interface for different types of Notifications.

V

valueOf(String) - Static method in enum com.github.kaiwinter.androidremotenotifications.model.ExecutionPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.github.kaiwinter.androidremotenotifications.model.UpdatePolicy
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.github.kaiwinter.androidremotenotifications.model.ExecutionPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.github.kaiwinter.androidremotenotifications.model.UpdatePolicy
Returns an array containing the constants of this enum type, in the order they are declared.
VersionCodePolicy - Class in com.github.kaiwinter.androidremotenotifications.model.impl
Defines the app version codes on which a notification should be shown.
VersionCodePolicy() - Constructor for class com.github.kaiwinter.androidremotenotifications.model.impl.VersionCodePolicy
 
A B C D E G H I N O P R S T U V 
Skip navigation links