1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
import org.pjsip.pjsua2.*; public class test { static { System.loadLibrary("pjsua2"); System.out.println("Library loaded"); } public static void main(String argv[]) { AuthCredInfo cred = new AuthCredInfo(); cred.setRealm("Hello world"); System.out.println(cred.getRealm()); } }