SPSmartMapUserTaskDelegate
Objective-C
@protocol SPSmartMapUserTaskDelegate <NSObject>
Swift
protocol SPSmartMapUserTaskDelegate : NSObjectProtocol
UserTaskDelegate to handle user task callbacks
-
Called when smartmap start a userTask. Whenever the user task is interrupted. The response type will be “Cancelled” otherwise if it is finished “Completed” will be returned. After a user task is finished. The map mode will be set to mapOnly.
Declaration
Objective-C
- (void)spSmartMapUserTask:(SPSmartMapUserTask *_Nonnull)userTask onUserTaskResponse:(SPSmartMapUserTaskResponse)response;Swift
optional func spSmartMapUserTask(_ userTask: SPSmartMapUserTask, on response: SPSmartMapUserTaskResponse)Parameters
userTaskThe user task that is triggering this callback.
responseThe response of the task.
SPSmartMapUserTaskDelegate Protocol Reference