//
//  UIAlertController+DeviceVerifyCodeBySerial.h
//  EZOpenSDKDemo
//
//  Created by JuneCheng on 2021/8/14.
//  Copyright © 2021 hikvision. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIAlertController (DeviceVerifyCodeBySerial)

/** 设备验证码输入 */
+ (void)showAlertWithDeviceSerial:(NSString *)deviceSerial confirmBlock:(void(^)(NSString *code))confirmBlock;
+ (void)showAlertWithDeviceSerial:(NSString *)deviceSerial confirmBlock:(void(^)(NSString *code))confirmBlock cancelBlock:(void(^)())cancelBlock;
+ (void)showAlertWithDeviceSerial:(NSString *)deviceSerial title:(NSString *)title message:(NSString *)message confirmBlock:(void(^)(NSString *code))confirmBlock cancelBlock:(void(^)())cancelBlock;

/** 设备验证码重新输入 */
+ (void)showDeviceSerialRetryAlert:(void(^)())confirmBlock;

@end

NS_ASSUME_NONNULL_END
