//
//  DAResponseHandler.h
//
//  Copyright © 2024 Jumio Corporation. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "daclient.h"

@class JDAClient;
@class JDAResponse;

NS_ASSUME_NONNULL_BEGIN

NS_SWIFT_NAME(JDAClient.ResponseHandler)
JDACLIENT_EXPORT @protocol JDAResponseHandler

- (void)client:(JDAClient*)client didReceiveResponse:(JDAResponse*)response;

@end

NS_SWIFT_NAME(JDAClient.NativeEventHandler)
JDACLIENT_EXPORT @protocol JDANativeEventHandler

- (void)client:(JDAClient*)client didReceiveNativeEvent:(const daclient_event_t*)nativeEvent;

@end

NS_ASSUME_NONNULL_END
