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(Context ctx,
DeliveryManager.DELIVERIES_TYPE type)
This function returns list of push deliveries sorted in descending order.
|
Cursor |
getDeliveryCursor(Context ctx,
DeliveryManager.DELIVERIES_TYPE type)
This function returns cursor with all push deliveries sorted in descending order.
|
void |
remove(Context ctx,
PushDelivery delivery)
This function remove a specific push delivery from local database.
|
public Cursor getDeliveryCursor(Context ctx, DeliveryManager.DELIVERIES_TYPE type)
ctx
- type
- type of deliveries.public ArrayList<PushDelivery> getDeliveries(Context ctx, DeliveryManager.DELIVERIES_TYPE type)
ctx
- type
- type of deliveries.public void remove(Context ctx, PushDelivery delivery)
ctx
- delivery
-