HERE iOS SDK Developer's Guide

<NMAFleetConnectivityServiceDelegate>

Protocol Summary

protocol <NMAFleetConnectivityServiceDelegate>

Derived from: <NSObject>

Represents a delegate to handle NMAFleetConnectivityService incoming messages.

Include: NMAKit.framework/headers/NMAFleetConnectivityService.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for <NMAFleetConnectivityServiceDelegate> – <NMAFleetConnectivityServiceDelegate>

[For complete information, see the section Protocol Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(void) fleetConnectivityEventAcknowledged:(nonnull NMAFleetConnectivityEvent *) event error:(nullable NMAFleetConnectivityError *) error

Called when server acknowledges dispatched event

-(void) fleetConnectivityMessageReceived:(nonnull NMAFleetConnectivityMessage *) message

Called when incoming message arrives

Protocol Details

Represents a delegate to handle NMAFleetConnectivityService incoming messages.

Methods of this protocol are called on the main queue.

Instance Method Details

-(void) fleetConnectivityEventAcknowledged:(nonnull NMAFleetConnectivityEvent *) event error:(nullable NMAFleetConnectivityError *) error

Called when server acknowledges dispatched event.

Parameters:

  • event

    The NMAFleetConnectivityEvent instance. Note that it won't be the same instance of event that was passed to the sendEvent: call. See NMAFleetConnectivityJobStartedEvent, NMAFleetConnectivityJobFinishedEvent, NMAFleetConnectivityJobRejectedEvent, NMAFleetConnectivityJobCancelledEvent and NMAFleetConnectivityCustomEvent.

  • error

    The NMAFleetConnectivityError instance in case of network failure or server error. See NMAFleetConnectivityError.

-(void) fleetConnectivityMessageReceived:(nonnull NMAFleetConnectivityMessage *) message

Called when incoming message arrives.

Parameters: