Package org.linphone.core
Interface Ldap
public interface Ldap
Object that represents a LDAP connection.
Use a
deprecated: 18/11/2024
instead.
Use a
LdapParams object to configure it.deprecated: 18/11/2024
Ldap object is no longer used, use RemoteContactDirectoryinstead.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumstatic enumstatic enumstatic enum -
Method Summary
Modifier and TypeMethodDescriptiongetCore()Deprecated.intgetIndex()Deprecated.longGets the native pointer used by this class to make native method calls.Deprecated.Gets the object stored in this object user's datanewWithParams(Core lc, LdapParams params) Deprecated.voidsetIndex(int index) Deprecated.voidsetParams(LdapParams params) Deprecated.voidsetUserData(Object data) Sets the object to store in this object user's datatoString()
-
Method Details
-
getCore
Deprecated.- Returns:
- The
Coreobject to which is associated theLdap.
deprecated: 18/11/2024Ldapobject is no longer used, useRemoteContactDirectory
instead.
-
getIndex
Deprecated.- Returns:
- The index of the Ldap
deprecated: 18/11/2024Ldapobject is no longer used, useRemoteContactDirectory
instead.
-
setIndex
Deprecated.- Parameters:
index- The index of the Ldap. Can be -1 : it will be determined on save.
deprecated: 18/11/2024Ldapobject is no longer used, useRemoteContactDirectory
instead.
-
getParams
Deprecated.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.
deprecated: 18/11/2024Ldapobject is no longer used, useRemoteContactDirectory
instead.
-
setParams
Deprecated.- Parameters:
params- TheLdapParamsobject.
deprecated: 18/11/2024Ldapobject is no longer used, useRemoteContactDirectory
instead.
-
newWithParams
Deprecated.- Parameters:
lc- TheCoreobject.params- TheLdapParamsobject.- Returns:
- The newly created
Ldapobject.
deprecated: 18/11/2024Ldapobject is no longer used, useRemoteContactDirectory
instead.
-
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()
-