Synchronize @deprecated flag between JavaDoc and Java's code

This commit is contained in:
François Grisez 2016-09-30 16:53:51 +02:00
parent 4e6f7fa143
commit 6b36c21fa7
5 changed files with 18 additions and 0 deletions

View file

@ -43,6 +43,7 @@ public interface LinphoneChatRoom {
/**
* Send a message to peer member of this chat room.
* @param message chat message
* @deprecated
*/
@Deprecated
void sendMessage(LinphoneChatMessage message, LinphoneChatMessage.StateListener listener);

View file

@ -172,6 +172,7 @@ public interface LinphoneCore {
* Describes firewall policy.
* @deprecated
*/
@Deprecated
static public class FirewallPolicy {
static private Vector<FirewallPolicy> values = new Vector<FirewallPolicy>();
@ -1106,12 +1107,14 @@ public interface LinphoneCore {
* @param status OnlineStatus
* @deprecated Use setPresenceModel() instead
*/
@Deprecated
void setPresenceInfo(int minutes_away, String alternative_contact, OnlineStatus status);
/**
* Get my presence status
* @return OnlineStatus
* @deprecated Use getPresenceModel() instead
*/
@Deprecated
OnlineStatus getPresenceInfo();
/**
* Set my presence status
@ -1216,12 +1219,14 @@ public interface LinphoneCore {
* @param pol one of the FirewallPolicy members.
* @deprecated
*/
@Deprecated
void setFirewallPolicy(FirewallPolicy pol);
/**
* @return previously set firewall policy.
* @deprecated
*/
@Deprecated
FirewallPolicy getFirewallPolicy();
/**
@ -1467,6 +1472,7 @@ public interface LinphoneCore {
* @deprecated
* @param i
*/
@Deprecated
void adjustSoftwareVolume(int i);
/**
@ -1638,6 +1644,7 @@ public interface LinphoneCore {
* @param uri
* @return
*/
@Deprecated
boolean isMyself(String uri);
/**
@ -1705,6 +1712,7 @@ public interface LinphoneCore {
* Enable or disable tunnel
* @param enable True to enable and false to disable
*/
@Deprecated
void tunnelEnable(boolean enable);
/**
@ -1740,6 +1748,7 @@ public interface LinphoneCore {
* @deprecated Use tunnelSetMode instaead
* Enable tunnel if the mirror RTP session cannot be established
*/
@Deprecated
void tunnelAutoDetect();
/**

View file

@ -31,6 +31,7 @@ public interface LinphoneCoreListener {
* @deprecated
* Ask the application some authentication information
**/
@Deprecated
void authInfoRequested(LinphoneCore lc, String realm, String username, String domain);
/**
@ -116,24 +117,28 @@ public interface LinphoneCoreListener {
* Notifies the application that it should show up
* @deprecated
*/
@Deprecated
void show(LinphoneCore lc);
/**
* Callback that notifies various events with human readable text.
* @deprecated
*/
@Deprecated
void displayStatus(LinphoneCore lc,String message);
/**
* Callback to display a message to the user
* @deprecated
*/
@Deprecated
void displayMessage(LinphoneCore lc,String message);
/**
* Callback to display a warning to the user
* @deprecated
*/
@Deprecated
void displayWarning(LinphoneCore lc,String message);
/**

View file

@ -112,12 +112,14 @@ public interface LinphoneFriend {
* @return OnlineStatus
* @deprecated Use getPresenceModelForUri() instead
*/
@Deprecated
OnlineStatus getStatus();
/**
* Get the presence information of a friend
* @return A #PresenceModel object, or null if the friend do not have presence information (in which case he is considered offline)
* @deprecated Use getPresenceModelForUri() instead
*/
@Deprecated
PresenceModel getPresenceModel();
/**

View file

@ -26,6 +26,7 @@ import java.util.Vector;
* @deprecated Use #PresenceModel and #PresenceActivity instead
*/
@Deprecated
public class OnlineStatus {
static private Vector<OnlineStatus> values = new Vector<OnlineStatus>();