Package org.linphone.core
Interface FriendPhoneNumber
public interface FriendPhoneNumber
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones a phone number.getLabel()
Gets the label associated to this phone number.long
Gets the native pointer used by this class to make native method calls.Gets the phone number.Gets the object stored in this object user's datavoid
Sets the label for this phone number.void
setPhoneNumber
(String number) Sets the phone number.void
setUserData
(Object data) Sets the object to store in this object user's datatoString()
-
Method Details
-
getLabel
Gets the label associated to this phone number.
- Returns:
- the label set if any, null otherwise.
-
setLabel
Sets the label for this phone number.
- Parameters:
label
- the label to set.
-
getPhoneNumber
Gets the phone number.
- Returns:
- the phone number stored.
-
setPhoneNumber
Sets the phone number.
- Parameters:
number
- the phone number to set.
-
clone
Clones a phone number.
- Returns:
- The newly created
FriendPhoneNumber
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()
-