Banuba SDK
BNBEffect.h
Go to the documentation of this file.
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from effect_player.djinni
3 
4 #import <Foundation/Foundation.h>
5 
6 
7 @interface BNBEffect : NSObject
8 
9 /** Thread-safe. May be called from any thread */
10 - (nonnull NSString *)url;
11 
12 /**
13  * Adds js method call to call queue. Queue is performed during the *draw* operation.
14  * If there is an effect in loading state, all calls will be performed
15  * when the effect loading is finished.
16  * Thread-safe. May be called from any thread
17  * @param methodName JS global function name. Member functions are not supported.
18  * @param params Function arguments as JSON string.
19  */
20 - (void)callJsMethod:(nonnull NSString *)methodName
21  params:(nonnull NSString *)params;
22 
23 /**
24  * reset effect state
25  * MUST be called from the render thread
26  */
27 - (void)reset;
28 
29 @end
BNBEffect
Definition: BNBEffect.h:8
-[BNBEffect url]
nonnull NSString * url()
Thread-safe.
-[BNBEffect reset]
void reset()
reset effect state MUST be called from the render thread