Files
sociology_app/uni_modules/zy-AliyunPlayer/ios/AliyunPlayer.framework/Headers/AVPCacheConfig.h
2024-07-17 14:06:06 +08:00

52 lines
1.1 KiB
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//
// AVPCacheConfig.h
// AliPlayerSDK
//
// Created by huang_jiafa on 2019/05/31.
// Copyright (c) 2019 Aliyun. All rights reserved.
//
#ifndef AVPCacheConfig_h
#define AVPCacheConfig_h
#import <Foundation/Foundation.h>
OBJC_EXPORT
@interface AVPCacheConfig : NSObject
/**
@brief 缓存目录
*/
/****
@brief The cache directory.
*/
@property (nonatomic, copy) NSString *path;
/**
@brief 单个视频缓存的最大时长单位秒即某个视频的时长超过maxDuration将不会被缓存
*/
/****
@brief The maximum length of a single video that can be cached. Unit: seconds. Videos that exceed the maximum length are not cached.
*/
@property (nonatomic, assign) long maxDuration;
/**
@brief 所有缓存最大占用空间单位MB
*/
/****
@brief The maximum cache memory size. Unit: MB.
*/
@property (nonatomic, assign) int maxSizeMB;
/**
@brief 是否开启缓存。默认关闭。
*/
/****
@brief Enable or disable content caching. Default: disabled.
*/
@property (nonatomic, assign) BOOL enable;
@end
#endif /* AVPCacheConfig_h */