linphone_call_params_set_media_encryption((LinphoneCallParams*)cp,(LinphoneMediaEncryption)jmenc);
}
+extern "C" void Java_org_linphone_core_LinphoneCallImpl_setState(JNIEnv* env,
+ jobject thiz,
+ jlong call,
+ int state,
+ jstring message) {
+
+ const char* jmessage = env->GetStringUTFChars(message, NULL);
+ linphone_call_set_state(call, state, jmessage);
+ env->ReleaseStringUTFChars(message, jmessage);
+}
+
extern "C" jboolean Java_org_linphone_core_LinphoneCoreImpl_getMediaEncryptionMandatory(JNIEnv* env
,jobject thiz
,jlong lc
static private Vector values = new Vector();
private final int mValue;
public final int value() {return mValue;}
-
+
private final String mStringValue;
/**
* Idle
boolean isInConference();
float getPlayVolume();
+
+ void setState(State state, String message);
}