//
//  SMAGlobalVendorList.h
//  SmaatoSDKCMP
//
//  Created by Stefan Meyer on 29.03.21.
//  Copyright © 2021 Smaato Inc. All rights reserved.
//

#import <Foundation/Foundation.h>

@class SMAGVL;

typedef void (^SMAGVLLoadingOnDidLoad)(SMAGVL *_Nullable gvl, NSError *_Nullable error);

NS_ASSUME_NONNULL_BEGIN

@interface SMAGlobalVendorList : NSObject

@property (nonatomic, strong, nullable) NSURLSessionDataTask *task;

+ (instancetype)sharedInstance;
- (void)fetchGVL:(SMAGVLLoadingOnDidLoad)completion;

@end

NS_ASSUME_NONNULL_END
