mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-19 20:18:09 +00:00
13 lines
484 B
Java
13 lines
484 B
Java
package org.linphone.core;
|
|
|
|
class LinphoneAuthInfoImpl implements LinphoneAuthInfo {
|
|
protected final long nativePtr;
|
|
private native long newLinphoneAuthInfo(String username, String userid, String passwd, String ha1,String realm);
|
|
private native void delete(long ptr);
|
|
protected LinphoneAuthInfoImpl(String username,String password) {
|
|
nativePtr = newLinphoneAuthInfo(username,null,password,null,null);
|
|
}
|
|
protected void finalize() throws Throwable {
|
|
delete(nativePtr);
|
|
}
|
|
}
|