Package com.banuba.sdk.effect_player
Class EffectPlayerConfiguration
java.lang.Object
com.banuba.sdk.effect_player.EffectPlayerConfiguration
public final class EffectPlayerConfiguration
extends java.lang.Object
Configuration for EffectPlayer
-
Constructor Summary
Constructors Constructor Description EffectPlayerConfiguration(int fxWidth, int fxHeight, NnMode nnEnable, FaceSearchMode faceSearch, boolean jsDebuggerEnable, boolean manualAudio)
-
Method Summary
Modifier and Type Method Description FaceSearchMode
getFaceSearch()
This setting is used for real time only.int
getFxHeight()
Height of effect rendering areaint
getFxWidth()
Width of effect rendering areaboolean
getJsDebuggerEnable()
boolean
getManualAudio()
Init audio device.NnMode
getNnEnable()
Neural Networks enabling modejava.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
EffectPlayerConfiguration
public EffectPlayerConfiguration(int fxWidth, int fxHeight, @NonNull NnMode nnEnable, @NonNull FaceSearchMode faceSearch, boolean jsDebuggerEnable, boolean manualAudio)
-
-
Method Details
-
getFxWidth
public int getFxWidth()Width of effect rendering area -
getFxHeight
public int getFxHeight()Height of effect rendering area -
getNnEnable
Neural Networks enabling mode -
getFaceSearch
This setting is used for real time only. Mode is always "good" for photo and video -
getJsDebuggerEnable
public boolean getJsDebuggerEnable() -
getManualAudio
public boolean getManualAudio()Init audio device. Works only on iOs -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-