Inherits from NSObject
Declared in NetmeraPushInboxList.h
NetmeraPushInboxList.m

Overview

NetmeraPushInboxList is the class, which stores the rich push notifications that are shown in push inbox as a list. It also represents an interface for performing some operations upon this list.

Tasks

Properties

newPushReceived

The boolean value regarding whether new rich push notification is received or not.

@property (nonatomic, assign) BOOL newPushReceived

Discussion

The boolean value regarding whether new rich push notification is received or not.

Declared In

NetmeraPushInboxList.h

Class Methods

sharedList

Returns the list that includes the rich push notifications that are shown in push inbox.

+ (NetmeraPushInboxList *)sharedList

Return Value

list of the rich push notifications

Discussion

Returns the list that includes the rich push notifications that are shown in push inbox.

Declared In

NetmeraPushInboxList.h

Instance Methods

addPushObject:

Insert the given NetmeraPushObject into the push inbox list.

- (BOOL)addPushObject:(NetmeraPushObject *)object

Parameters

NetmeraPushObject,

which is wanted to add to the push inbox list.

Return Value

boolean value regarding whether the given push object is added to the push inbox list.

Discussion

Insert the given NetmeraPushObject into the push inbox list.

Declared In

NetmeraPushInboxList.h

count

Returns the number of the rich push objects, which are taken place in the push inbox list.

- (NSInteger)count

Return Value

the total number of rich push notifications in the push inbox list.

Discussion

Returns the number of the rich push objects, which are taken place in the push inbox list.

Declared In

NetmeraPushInboxList.h

indexOfPushObject:

Returns the index of the NetmeraPushObject in the push inbox list.

- (NSInteger)indexOfPushObject:(NetmeraPushObject *)obj

Parameters

NetmeraPushObject

of which the index is wanted to get

Return Value

index value of the requested NetmeraPushObject

Discussion

Returns the index of the NetmeraPushObject in the push inbox list.

Declared In

NetmeraPushInboxList.h

pushObjectAtIndex:

Returns the NetmeraPushObject, which is taken place in the given index of the push inbox list.

- (NetmeraPushObject *)pushObjectAtIndex:(NSInteger)index

Parameters

index

value of the NetmeraPushObject that is wanted to get.

Return Value

NetmeraPushObject at requested index.

Discussion

Returns the NetmeraPushObject, which is taken place in the given index of the push inbox list.

Declared In

NetmeraPushInboxList.h

recentPushObject

Returns the recently added NetmeraPushObject.

- (NetmeraPushObject *)recentPushObject

Return Value

latest NetmeraPushObject in push inbox list.

Discussion

Returns the recently added NetmeraPushObject.

Declared In

NetmeraPushInboxList.h

removePushObjectAtIndex:

Removes the NetmeraPushObject at given index from the push inbox list.

- (BOOL)removePushObjectAtIndex:(NSInteger)index

Parameters

index

value of the NetmeraPushObject, which is wanted to remove.

Return Value

boolean value regarding whether requested the push object is removed or not.

Discussion

Removes the NetmeraPushObject at given index from the push inbox list.

Declared In

NetmeraPushInboxList.h

removePushObjectsAtIndexes:

Removes the NetmeraPushObjects at the indexes in given set from the push inbox list.

- (BOOL)removePushObjectsAtIndexes:(NSIndexSet *)indexes

Parameters

NSIndexSet

object, which includes the indexes of NetmeraPushObjects, which are wanted to remove.

Return Value

boolean value regarding whether the requested push objects are removed or not.

Discussion

Removes the NetmeraPushObjects at the indexes in given set from the push inbox list.

Declared In

NetmeraPushInboxList.h

richPushObjectAfterObject:

Returns the NetmeraRichPushObject, which is taken place after the current rich push object in the push inbox list.

- (NetmeraRichPushObject *)richPushObjectAfterObject:(NetmeraPushObject *)object

Parameters

NetmeraRichPushObject,

which is before the requested rich push object.

Return Value

NetmeraRichPushObject after the object given as parameter.

Discussion

Returns the NetmeraRichPushObject, which is taken place after the current rich push object in the push inbox list.

Declared In

NetmeraPushInboxList.h

richPushObjectBeforeObject:

Returns the NetmeraRichPushObject, which is taken place before the current rich push object in the push inbox list.

- (NetmeraRichPushObject *)richPushObjectBeforeObject:(NetmeraPushObject *)object

Parameters

NetmeraRichPushObject,

which is after the requested rich push object.

Return Value

NetmeraRichPushObject before the object given as parameter

Discussion

Returns the NetmeraRichPushObject, which is taken place before the current rich push object in the push inbox list.

Declared In

NetmeraPushInboxList.h