JWBufferEvent

@protocol JWBufferEvent <JWStateChangeEvent>

JWBufferEvent is emitted when the video is buffering.

  • The new state of the player.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        JWPlayerState newState;
  • The reason why a buffer event occurred.

    Declaration

    Objective-C

    @property (nonatomic, copy, readwrite) NSString *_Nonnull reason;