public class AlivcLivePushInstance
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
loadInstance(android.content.Context context)
Load instance before use live push sdk!!!
|
static void |
loadLibrariesOnce()
Load cpp so libs once.
|
public static void loadInstance(android.content.Context context)
You can call this method when app launch, or the beginning of calling live push method.
context
- android contextpublic static void loadLibrariesOnce()
Do it before using lib.so!!! Otherwise, it will cause crash!!! It should be called in the static{} method in all java classes with native methods.