Package com.vivoka.vsdk.common
Interface IEngine
public interface IEngine
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidinit(android.content.Context context, IEngineCallback callback) Deprecated, for removal: This API element is subject to removal in a future version.voidInitializes the engine with the given callback.voidrelease()Releases the engine.
-
Method Details
-
init
@Deprecated(forRemoval=true) default void init(android.content.Context context, IEngineCallback callback) throws Exception Deprecated, for removal: This API element is subject to removal in a future version.Use#init(Consumer<Boolean>)instead (for removal).Initializes the engine with the given context and callback.- Parameters:
context- Ignored, as The Vsdk context will be used.callback- The callback to handle engine events.- Throws:
Exception- If the initialization fails.
-
init
Initializes the engine with the given callback.- Parameters:
onFinish- The callback to call when the engine finishes initialization.- Throws:
Exception- If the initialization fails.
-
release
Releases the engine.- Throws:
Exception- If the release fails.
-
#init(Consumer<Boolean>)instead (for removal).