JWBufferEvent

@protocol JWBufferEvent <JWStateChangeEvent>

JWBufferEvent is emitted when the video is buffering.

  • The new state of the player.

    Declaration

    Objective-C

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

    Declaration

    Objective-C

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