BJNEventDelegate

@objc
public protocol BJNEventDelegate : AnyObject

BJNEventDelegate declares all possible event delegate methods in BJNVideoObjc(BJNVideo in Objective C). This is only required if BJNVideo is used in Objective C classes.

  • Event callback on any change to the Connection State, with the exception of initialization.

    Declaration

    Swift

    @objc
    optional func didChangeConnectionState()
  • Event callback on any change to the Logging Mode, with the exception of initialization.

    Declaration

    Swift

    @objc
    optional func didChangeLoggingMode()
  • Event callback on any change to the Receiving Screen Share, with the exception of initialization.

    Declaration

    Swift

    @objc
    optional func didChangeReceivingScreenShare()
  • Event callback on any change to the Enable Self Video Preview, with the exception of initialization.

    Declaration

    Swift

    @objc
    optional func didEnableSelfVideoPreview()
  • Event callback on any change to the Video State, with the exception of initialization.

    Declaration

    Swift

    @objc
    optional func didChangeVideoState()
  • Event callback on mute/unmute of Audio.

    Declaration

    Swift

    @objc
    optional func didMuteAudio()
  • Event callback on mute/unmute of Video.

    Declaration

    Swift

    @objc
    optional func didMuteVideo()
  • Event callback on any change to the Camera Device, with the exception of initialization.

    Declaration

    Swift

    @objc
    optional func didChangeCameraDevice()