*/
package org.linphone.core;
-
-import java.util.List;
import java.util.Vector;
import org.linphone.core.LinphoneCallParams;
* linphone core states
*/
static public class GlobalState {
- @SuppressWarnings("unchecked")
+
static private Vector values = new Vector();
/**
* Off
private final int mValue;
private final String mStringValue;
- @SuppressWarnings("unchecked")
+
private GlobalState(int value,String stringValue) {
mValue = value;
values.addElement(this);
*
*/
static public class RegistrationState {
- @SuppressWarnings("unchecked")
+
private static Vector values = new Vector();
/**
* None
private final int mValue;
private final String mStringValue;
- @SuppressWarnings("unchecked")
+
private RegistrationState(int value,String stringValue) {
mValue = value;
values.addElement(this);
*
*/
static public class FirewallPolicy {
- @SuppressWarnings("unchecked")
+
static private Vector values = new Vector();
/**
* No firewall is assumed.
private final int mValue;
private final String mStringValue;
- @SuppressWarnings("unchecked")
+
private FirewallPolicy(int value,String stringValue) {
mValue = value;
values.addElement(this);
*
*/
static public class MediaEncryption {
- @SuppressWarnings("unchecked")
+
static private Vector values = new Vector();
/**
* None
protected final int mValue;
private final String mStringValue;
- @SuppressWarnings("unchecked")
+
private MediaEncryption(int value,String stringValue) {
mValue = value;
values.addElement(this);
* EC Calibrator Status
*/
static public class EcCalibratorStatus {
- @SuppressWarnings("unchecked")
+
static private Vector values = new Vector();
public static final int IN_PROGRESS_STATUS=0;
public static final int DONE_STATUS=1;
private final int mValue;
private final String mStringValue;
- @SuppressWarnings("unchecked")
+
private EcCalibratorStatus(int value,String stringValue) {
mValue = value;
values.addElement(this);
/**
* @return a list of LinphoneCallLog
*/
- @SuppressWarnings("unchecked")
- public List getCallLogs();
+ public Vector getCallLogs();
/**
* This method is called by the application to notify the Linphone core library when network is reachable.
int getConferenceSize();
void terminateAllCalls();
- @SuppressWarnings("unchecked") List getCalls();
+ Vector getCalls();
int getCallsNb();