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

#include <MPBookingService.h>

Inheritance diagram for MPBookingService:

Instance Methods

(void) - getBookableLocationsUsingQuery:completion:
 
(void) - getLocationsConfiguredForBooking:completion:
 
(void) - getBookingsUsingQuery:completion:
 
(void) - performBooking:completion:
 
(void) - cancelBooking:completion:
 

Class Methods

(instancetype) + sharedInstance
 

Properties

MPBookingAuthConfigauthenticationConfig
 

Detailed Description

MPBookingService allows for access to the MapsIndoors booking service. The booking service is a special integration that has to be enabled in the MapsIndoors cloud systems.

The service allows for:

Method Documentation

◆ cancelBooking:completion:

- (void) cancelBooking: (MPBooking *) booking
completion: (mpBookingCompletion) completion 

Cancel the booking identified by the booking parameter.

Parameters
bookingbooking to cancel
completionhandler

◆ getBookableLocationsUsingQuery:completion:

- (void) getBookableLocationsUsingQuery: (MPBookableQuery *) q
completion: (mpLocationListCompletion) completion 

Query for bookable locations given the query filter.

Parameters
qfilter to apply
completionhandler

◆ getBookingsUsingQuery:completion:

- (void) getBookingsUsingQuery: (MPBookingsQuery *) q
completion: (mpBookingListCompletion) completion 

Get existing booking according the the given query.

See also
MPBookingsQuery
Parameters
qfilter to apply
completionhandler

◆ getLocationsConfiguredForBooking:completion:

- (void) getLocationsConfiguredForBooking: (MPBookableQuery *) query
completion: (mpLocationListCompletion) completion 

Query for locations that are configured for booking given the query filter.

Parameters
queryfilter to apply
completionhandler

◆ performBooking:completion:

- (void) performBooking: (MPBooking *) booking
completion: (mpBookingCompletion) completion 

Book the resource identified by the booking parameter.

Parameters
bookingidentification of resource, timespan etc to book
completionhandler

◆ sharedInstance

+ (instancetype) sharedInstance

Property Documentation

◆ authenticationConfig

- (MPBookingAuthConfig*) authenticationConfig
readwritenonatomicstrong

Set authentication configuration. This may be used if the Booking Service should book on behalf of an authenticated user. Otherwise the attempted bookings will be anonymous.