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