MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
Instance Methods | Class Methods | Properties | List of all members
MPSolutionProvider Class Reference

#include <MPSolutionProvider.h>

Inheritance diagram for MPSolutionProvider:

Instance Methods

(void) - getSolution
 
(void) - getSolutionWithCompletion:
 
(void) - getUserRolesWithCompletion:
 

Class Methods

(BOOL) + isOfflineDataAvailableForSolutionId:
 

Properties

id< MPSolutionProviderDelegatedelegate
 

Detailed Description

Solution provider interface, that defines a delegate and a method for solution queries.

Method Documentation

◆ getSolution

- (void) getSolution

Get solution from this provider.

◆ getSolutionWithCompletion:

- (void) getSolutionWithCompletion: (nullable mpSolutionHandlerBlockType) completionHandler

Get solution from this provider and supply a callback handler function.

◆ getUserRolesWithCompletion:

- (void) getUserRolesWithCompletion: (nonnull mpUserRoleCompletion) completionHandler

Get user roles associated with the solution

Parameters
completionHandlercalled when user roles or error has been found

◆ isOfflineDataAvailableForSolutionId:

+ (BOOL) isOfflineDataAvailableForSolutionId: (nonnull NSString *) solutionId

Determine if cached or preloaded data is available for the given solutionId.

Parameters
solutionIdsolutionId to check for offline data availability.
Returns
YES if offline or preloaded data is available, else NO,

Property Documentation

◆ delegate

- (id<MPSolutionProviderDelegate>) delegate
readwritenonatomicweak

Solution provider delegate.