BNBFrameDurationListener

Objective-C

@protocol BNBFrameDurationListener

Swift

protocol BNBFrameDurationListener

Callback interface to receive FPS timings.

  • FPS information about recognition engine.

    Declaration

    Objective-C

    - (void)onRecognizerFrameDurationChanged:(float)instant
                                    averaged:(float)averaged;

    Swift

    func onRecognizerFrameDurationChanged(_ instant: Float, averaged: Float)
  • FPS information about camera images push.

    See

    EffectPlayer.pushFrame

    Declaration

    Objective-C

    - (void)onCameraFrameDurationChanged:(float)instant averaged:(float)averaged;

    Swift

    func onCameraFrameDurationChanged(_ instant: Float, averaged: Float)
  • FPS of Effect Player drawing.

    Declaration

    Objective-C

    - (void)onRenderFrameDurationChanged:(float)instant averaged:(float)averaged;

    Swift

    func onRenderFrameDurationChanged(_ instant: Float, averaged: Float)