public class DeliveryManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DeliveryManager.DELIVERIES_TYPE |
Modifier and Type | Method and Description |
---|---|
ArrayList<PushDelivery> |
getDeliveries(DeliveryManager.DELIVERIES_TYPE type)
This function returns list of push deliveries sorted in descending order.
|
Cursor |
getDeliveryCursor(DeliveryManager.DELIVERIES_TYPE type)
This function returns cursor with all push deliveries sorted in descending order.
|
PushDelivery |
getPushDelivery(String id) |
void |
remove(PushDelivery delivery)
This function remove a specific push delivery from local database.
|
void |
showPushNotification(PushDelivery pushDelivery) |
public Cursor getDeliveryCursor(DeliveryManager.DELIVERIES_TYPE type)
type
- type of deliveries.public PushDelivery getPushDelivery(String id)
public ArrayList<PushDelivery> getDeliveries(DeliveryManager.DELIVERIES_TYPE type)
type
- type of deliveries.public void remove(PushDelivery delivery)
delivery
- public void showPushNotification(PushDelivery pushDelivery)