MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
Instance Methods | Properties | List of all members
<MPMessagesProvider> Protocol Reference

#include <MPMessageProvider.h>

Inheritance diagram for <MPMessagesProvider>:
MPMessagesProvider

Instance Methods

(void) - getMessagesWithCompletion:
 
(void) - getMessageWithId:completionHandler:
 

Properties

id< MPMessageProviderDelegatedelegate
 

Detailed Description

Messages provider protocol.

Method Documentation

◆ getMessagesWithCompletion:

- (void) getMessagesWithCompletion: (nullable mpMessageListHandlerBlockType) handler

Method to initiate fetching of all Messages from the provider.

Parameters
handlerThe handler callback block. Contains the MPMessage object (can be nil) and an NSError object (can be nil).

◆ getMessageWithId:completionHandler:

- (void) getMessageWithId: (nonnull NSString *) messageId
completionHandler: (nullable mpMessageDetailsHandlerBlockType) handler 

Method to query a unique Message from the provider based on an id.

Parameters
messageIdThe MapsIndoors Message ID.
handlerThe handler callback block. Contains the MPMessage object (can be nil) and an NSError object (can be nil).

Property Documentation

◆ delegate

- (id<MPMessageProviderDelegate>) delegate
readwritenonatomicweak