VICacheAction.h 495 Bytes
Newer Older
曹云霄's avatar
曹云霄 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
//
//  VICacheAction.h
//  VIMediaCacheDemo
//
//  Created by Vito on 4/21/16.
//  Copyright © 2016 Vito. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, VICacheAtionType) {
    VICacheAtionTypeLocal = 0,
    VICacheAtionTypeRemote
};

@interface VICacheAction : NSObject

- (instancetype)initWithActionType:(VICacheAtionType)actionType range:(NSRange)range;

@property (nonatomic) VICacheAtionType actionType;
@property (nonatomic) NSRange range;

@end