- 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
-
- getJsonFromPersistentNotifications(Set<PersistentNotification>) - Static method in class com.github.kaiwinter.androidremotenotifications.json.UnMarshaller
-
- 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
-
- getNotificationsFromJson(URL) - Static method in class com.github.kaiwinter.androidremotenotifications.json.UnMarshaller
-
Creates a Set of
UserNotification
s 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
-
- getPersistentNotificationsFromJson(String) - Static method in class com.github.kaiwinter.androidremotenotifications.json.UnMarshaller
-
- 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.
- 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
-
- 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
-
- SharedPreferencesStore(SharedPreferences) - Constructor for class com.github.kaiwinter.androidremotenotifications.persistence.impl.SharedPreferencesStore
-
- 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.