AliyunPlayer v6.21.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
 Enable or disable content caching.
 
long maxDuration
 The maximum length of a single video that can be cached.
 
int maxSizeMB
 The maximum cache memory size.
 
NSString * path
 The cache directory.
 

Property Documentation

◆ enable

- (BOOL) enable
readwritenonatomicassign

Enable or disable content caching.

Default: disabled.

◆ maxDuration

- (long) maxDuration
readwritenonatomicassign

The maximum length of a single video that can be cached.

Unit: seconds. Videos that exceed the maximum length are not cached.

◆ maxSizeMB

- (int) maxSizeMB
readwritenonatomicassign

The maximum cache memory size.

Unit: MB.

◆ path

- (NSString*) path
readwritenonatomiccopy

The cache directory.


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