JWRelatedPlayEvent

@protocol JWRelatedPlayEvent <NSObject>

JWRelatedPlayEvent describes a an event where a Recommendation item is chosen for playback.

  • the chosen item specified in the feed.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        JWPlaylistItem *_Nonnull item;
  • Returns true if started via autoplay; false if manually started.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) BOOL autostart;
  • Ordinal position of the related video that has been chosen.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) NSInteger position;