Package org.linphone.core
Interface FriendDevice
public interface FriendDevice
-
Method Summary
Modifier and TypeMethodDescriptionclone()Clones a device.Gets the address associated to this device.Gets the display name of this device.longGets the native pointer used by this class to make native method calls.Gets the current security level of this device.Gets the object stored in this object user's datavoidsetUserData(Object data) Sets the object to store in this object user's datatoString()
-
Method Details
-
getAddress
Gets the address associated to this device.
- Returns:
- the address (including gruu) to which this device is linked.
-
getDisplayName
Gets the display name of this device.
- Returns:
- the name of the device.
-
getSecurityLevel
SecurityLevel getSecurityLevel()Gets the current security level of this device.
- Returns:
- the current
SecurityLevelof the device.
-
clone
Clones a device.
- Returns:
- The newly created
FriendDeviceobject.
-
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()
-