Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
b59dc831
Commit
b59dc831
authored
Apr 27, 2010
by
Simon Morlat
Browse files
enrich linphoneaddress
parent
572b6965
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
java/org/linphone/core/LinphoneAddress.java
java/org/linphone/core/LinphoneAddress.java
+19
-2
No files found.
java/org/linphone/core/LinphoneAddress.java
View file @
b59dc831
...
...
@@ -34,13 +34,30 @@ public interface LinphoneAddress {
* @return null if not set
*/
public
String
getDomain
();
public
String
getPort
();
public
int
getPortInt
();
/**
* set display name
* @param name
*/
public
void
setDisplayName
(
String
name
);
public
void
setUserName
(
String
username
);
public
void
setDomain
(
String
domain
);
public
void
setPort
(
String
port
);
public
void
setPortInt
(
int
port
);
public
void
clean
();
/**
* @return an URI version of the address that can be used to place a call using {@link LinphoneCore#invite(String)}
*
* @return the address as a string.
*/
public
String
asString
();
/**
*
* @return the address without display name as a string.
*/
public
String
toUri
();
public
String
asStringUriOnly
();
/*must return the same thing as asString()*/
public
String
toString
();
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment