Banuba SDK
Instance Methods | Class Methods | List of all members
BNBPushFrameMocker Class Reference

This class will mock data from default source to data from file. More...

#import <BNBPushFrameMocker.h>

Inheritance diagram for BNBPushFrameMocker:

Instance Methods

(void) - process:
 Parse file and start pushing frame to Effect player. More...
 

Class Methods

(nullable BNBPushFrameMocker *) + create:provider:
 

Detailed Description

This class will mock data from default source to data from file.

Used for testing and debug.

Definition at line 11 of file BNBPushFrameMocker.h.

Method Documentation

◆ create:provider:

+ (nullable BNBPushFrameMocker *) create: (nullable BNBEffectPlayer *)  player
provider: (nullable BNBFramesProvider *)  provider 
Parameters
playereffect player to which attach this provider.
providerprovider to fetch frames from

◆ process:

- (void) process: (nonnull NSString *)  outputFile

Parse file and start pushing frame to Effect player.

Parameters
outputFilepath to file to write processed data in internal format.

The documentation for this class was generated from the following file: