BCOVCuePointProgressPolicyResult Class Reference

Inherits from NSObject
Declared in BCOVCuePointProgressPolicy.h

Overview

Communicates the result of a BCOVCuePointProgressPolicy object to the code consulting the policy.

– initWithCuePoints:resumeCuePoint:

Returns an initialized instance of BCOVCuePointProgressPolicy with the specified cue points and the cue point at which playback should resume. Specify a nil resumeCuePoint to indicate that playback should continue from the current playhead position.

- (instancetype)initWithCuePoints:(BCOVCuePointCollection *)cuePoints resumeCuePoint:(BCOVCuePoint *)resumeCuePoint

Parameters

cuePoints

The cue points that should be processed by the client of this policy, as determined by the policy.

resumeCuePoint

The cue point whose position represents the time at which playback should resume. Specify nil to indicate that playback should continue from the current playhead position.

Return Value

A newly initialized cue point progress policy result.

Discussion

Returns an initialized instance of BCOVCuePointProgressPolicy with the specified cue points and the cue point at which playback should resume. Specify a nil resumeCuePoint to indicate that playback should continue from the current playhead position.

Declared In

BCOVCuePointProgressPolicy.h

  resumeCuePoint

Indicates the cue point at which playback should resume, once the code consulting the BCOVCuePointProgressPolicy has finished processing this result’s cue points. May be nil (which indicates that playback should resume from wherever the playhead is currently).

@property (nonatomic, copy, readonly) BCOVCuePoint *resumeCuePoint

Discussion

Indicates the cue point at which playback should resume, once the code consulting the BCOVCuePointProgressPolicy has finished processing this result’s cue points. May be nil (which indicates that playback should resume from wherever the playhead is currently).

Declared In

BCOVCuePointProgressPolicy.h

  cuePoints

Indicates which cue points should be included for consideration, as specified by a BCOVCuePointProgressPolicy.

@property (nonatomic, copy, readonly) BCOVCuePointCollection *cuePoints

Discussion

Indicates which cue points should be included for consideration, as specified by a BCOVCuePointProgressPolicy.

Declared In

BCOVCuePointProgressPolicy.h