AliyunPlayer v6.19.0
Aliyun Player API Reference Manual for iOS Platforms
Loading...
Searching...
No Matches
AVPCacheConfig Class Reference

#include "AVPCacheConfig.h"

Inheritance diagram for AVPCacheConfig:

Properties

BOOL enable
 是否开启缓存。默认关闭。
 
long maxDuration
 单个视频缓存的最大时长,单位秒,即某个视频的时长超过maxDuration将不会被缓存
 
int maxSizeMB
 所有缓存最大占用空间,单位:MB
 
NSString * path
 缓存目录
 

Property Documentation

◆ enable

- (BOOL) enable
readwritenonatomicassign

是否开启缓存。默认关闭。

◆ maxDuration

- (long) maxDuration
readwritenonatomicassign

单个视频缓存的最大时长,单位秒,即某个视频的时长超过maxDuration将不会被缓存

◆ maxSizeMB

- (int) maxSizeMB
readwritenonatomicassign

所有缓存最大占用空间,单位:MB

◆ path

- (NSString*) path
readwritenonatomiccopy

缓存目录


The documentation for this class was generated from the following file: