Package org.linphone.core
Interface Ldap
public interface Ldap
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumstatic enumstatic enumstatic enum -
Method Summary
Modifier and TypeMethodDescriptiongetCore()intgetIndex()Get the index of theLdap.longGets the native pointer used by this class to make native method calls.Get theLdapParamsas read-only object.Gets the object stored in this object user's datanewWithParams(Core lc, LdapParams params) voidsetIndex(int index) Set the index associated to theLdap.voidsetParams(LdapParams params) Set theLdapParamsused by thisLdap.voidsetUserData(Object data) Sets the object to store in this object user's datatoString()
-
Method Details
-
getCore
-
getIndex
int getIndex()- Returns:
- The index of the Ldap
-
setIndex
void setIndex(int index) - Parameters:
index- The index of the Ldap. Can be -1 : it will be determined on save.
-
getParams
Get theLdapParamsas read-only object.
To make changes, clone the returned object usingLdapParams.clone()
method, make your changes on it and apply them using withsetParams(org.linphone.core.LdapParams).- Returns:
- The
LdapParamsattached to this ldap.
-
setParams
- Parameters:
params- TheLdapParamsobject.
-
newWithParams
- Parameters:
lc- TheCoreobject.params- TheLdapParamsobject.- Returns:
- The newly created
Ldapobject.
-
setUserData
Sets the object to store in this object user's data- Parameters:
data- the object to store
-
getUserData
Object getUserData()Gets the object stored in this object user's data- Returns:
- the object store if any, null otherwise
-
getNativePointer
long getNativePointer()Gets the native pointer used by this class to make native method calls.- Returns:
- the nativer pointer, as long
-
toString
String toString()
-