src.main.java.io.agora.rtc.SDK Maven / Gradle / Ivy
//
//
// Agora Media SDK
// Copyright (c) 2020 Agora IO. All rights reserved.
// This file is generated by tool, do NOT modify it
//
//
package io.agora.rtc;
public class SDK {
private static volatile boolean isLoaded = false;
private static native void nativeLoad();
private static native void nativeUnload();
public static void load() {
if (isLoaded) {
return;
}
System.loadLibrary("binding");
nativeLoad();
isLoaded = true;
}
public static void unload() {
if (!isLoaded) {
return;
}
nativeUnload();
isLoaded = false;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy