//
//  SMTestPlayerViewModel.h
//  SM_LivePlayBack_BusinessCmp
//
//  Created by hik on 2024/10/11.
//

#import <Foundation/Foundation.h>
@class SMTestPlayConfig;
NS_ASSUME_NONNULL_BEGIN

@interface SMTestPlayerViewModel : NSObject

@property (nonatomic, assign, readonly) NSUInteger cameraNo;
@property (nonatomic, strong, readonly) NSString *deviceSerial; 
@property (nonatomic, assign, readonly) NSUInteger currentIndex;
@property (nonatomic, strong, readonly) NSArray<SMTestPlayConfig *> *configs;

- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
- (instancetype)initWithConfigs:(NSArray<SMTestPlayConfig *> *)configs;

- (void)scrollToIndex:(NSUInteger)index;

@end

NS_ASSUME_NONNULL_END
