//
//  NXAccount.h
//  NXSdwan
//
//  Created by 徐家骏 on 2019/5/5.
//  Copyright © 2019 徐家骏. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

///
@interface NXAccount : NSObject

@property(nonatomic) int64_t vuid; // sdk体系内的用户id,目前app调登录传入的就是此值
@property(nonatomic) int64_t rid;
@property(nonatomic) int expire;
@property(nonatomic) NSData *iKey;
@property(nonatomic) NSString *token;
@property(nonatomic) NSString *countryCode;
@property(nonatomic) BOOL ckEnable;
@property(nonatomic) BOOL activated; //如果是付费用户，这个用来区分账号是否已激活。

+ (instancetype)accountWithID:(int64_t)accountID;

- (void)getRecordFileURLForSessions:(NSArray *)sessionIDs completion:(void (^_Nullable)(NSDictionary * _Nullable urls, NSError * _Nullable error))completion;

@end

NS_ASSUME_NONNULL_END

