BatchInbox
@interface BatchInbox
Batch’s inbox module. Use this to get a configured instance of the inbox client.
-
Get an inbox fetcher for the current installation ID Batch must be started for this method to work.
Declaration
Objective-C
+ (nonnull BatchInboxFetcher *)fetcher;
Return Value
an instance of BatchInboxFetcher with the wanted configuration
-
Get an inbox fetcher for the specified user identifier. Batch must be started for this method to work.
Declaration
Objective-C
+ (nullable BatchInboxFetcher *)fetcherForUserIdentifier:(id)identifier authenticationKey:(id)authKey;
Parameters
identifier
User identifier for which you want the notifications
authKey
Secret authentication key: it should be computed your backend and given to this method
Return Value
an instance of BatchInboxFetcher with the wanted configuration