BCOVBasicSessionLoadingPolicy Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in BCOVBasicSessionProvider.h

Overview

The basic session loading policy decides when to load sessions.

Other Methods

+ sessionPreloadingNever

Returns a session loading policy that doesn’t preload upcoming sessions.

+ (instancetype)sessionPreloadingNever

Discussion

Returns a session loading policy that doesn’t preload upcoming sessions.

Declared In

BCOVBasicSessionProvider.h

+ sessionPreloadingWithProgressPercentage:

Returns a session loading policy that preloads an upcoming session when the previous session reaches certain percentage of progress.

+ (instancetype)sessionPreloadingWithProgressPercentage:(NSUInteger)progressPercentage

Parameters

progressPercentage

A NSUInteger between 0 and 100.

Return Value

A session loading policy that preloads an upcoming session when the previous session reaches certain percentage of progress. If progressPercentage is not between 0 and 100, a +[sessionPreloadingNever] will be returned.

Discussion

Returns a session loading policy that preloads an upcoming session when the previous session reaches certain percentage of progress.

Declared In

BCOVBasicSessionProvider.h

Unavailable Methods

– init

- (instancetype)init