public class StreamingEnv
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
StreamingEnv.EnvConfig |
Constructor and Description |
---|
StreamingEnv() |
Modifier and Type | Method and Description |
---|---|
static void |
checkEnv()
If it wasn't initialized, the Key class
CameraStreamingManager can't be built. |
static StreamingEnv.EnvConfig |
getEnvConfig() |
static void |
init(Context context)
Initialize the environment of SDK.
|
static void |
init(Context context,
StreamingEnv.EnvConfig config) |
static void |
pause(Context ctx) |
static void |
resume(Context ctx) |
public static void init(Context context)
IllegalStateException
will be thrown when build the CameraStreamingManager
context
- the context of the Applicationpublic static void init(Context context, StreamingEnv.EnvConfig config)
public static StreamingEnv.EnvConfig getEnvConfig()
public static void resume(Context ctx)
public static void pause(Context ctx)
public static void checkEnv()
CameraStreamingManager
can't be built.java.lang.IllegalStateException
- will be thrown if wasn't initialized.