Package org.linphone.core
Interface Ldap
public interface Ldap
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
static enum
static enum
static enum
-
Method Summary
Modifier and TypeMethodDescriptiongetCore()
int
getIndex()
Get the index of theLdap
.long
Gets the native pointer used by this class to make native method calls.Get theLdapParams
as read-only object.Gets the object stored in this object user's datanewWithParams
(Core lc, LdapParams params) void
setIndex
(int index) Set the index associated to theLdap
.void
setParams
(LdapParams params) Set theLdapParams
used by thisLdap
.void
setUserData
(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) -
getParams
Get theLdapParams
as 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
LdapParams
attached to this ldap.
-
setParams
- Parameters:
params
- TheLdapParams
object.
-
newWithParams
- Parameters:
lc
- TheCore
object.params
- TheLdapParams
object.- Returns:
- The newly created
Ldap
object.
-
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()
-