Skip to content
Snippets Groups Projects
Commit feb51c41 authored by Aline Gondim Santos's avatar Aline Gondim Santos
Browse files

gitignore: update

Change-Id: Ibcea6e120f7f20e9601e5040c063cd45a206f7ef
parent 2f3a8468
Branches
Tags
No related merge requests found
Showing
with 2 additions and 4222 deletions
......@@ -28,7 +28,7 @@ tests/bin
/.gradle/
/app/build/
/androidtv/build/
/libringclient/build/
/libringclient/src/main/java/net/jami/daemon/*
/libjamiclient/build/
/libjamiclient/src/main/java/net/jami/daemon/*
/build/
**/google-services.json
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class Blob extends java.util.AbstractList<Byte> implements java.util.RandomAccess {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected Blob(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(Blob obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_Blob(swigCPtr);
}
swigCPtr = 0;
}
}
public static Blob fromString(String in) {
byte[] dat;
try {
dat = in.getBytes("UTF-8");
} catch (java.io.UnsupportedEncodingException e) {
dat = in.getBytes();
}
Blob n = new Blob();
n.reserve(dat.length);
for (int i=0; i<dat.length; i++) {
n.add(dat[i]);
}
return n;
}
public String toJavaString() {
byte[] dat = new byte[(int)size()];
for (int i=0; i<dat.length; i++) {
dat[i] = (byte)get(i);
}
try {
return new String(dat, "utf-8");
} catch (java.io.UnsupportedEncodingException e) {
return "";
}
}
public Blob(byte[] initialElements) {
this();
reserve(initialElements.length);
for (byte element : initialElements) {
add(element);
}
}
public Blob(Iterable<Byte> initialElements) {
this();
for (byte element : initialElements) {
add(element);
}
}
public Byte get(int index) {
return doGet(index);
}
public Byte set(int index, Byte e) {
return doSet(index, e);
}
public boolean add(Byte e) {
modCount++;
doAdd(e);
return true;
}
public void add(int index, Byte e) {
modCount++;
doAdd(index, e);
}
public Byte remove(int index) {
modCount++;
return doRemove(index);
}
protected void removeRange(int fromIndex, int toIndex) {
modCount++;
doRemoveRange(fromIndex, toIndex);
}
public int size() {
return doSize();
}
public Blob() {
this(JamiServiceJNI.new_Blob__SWIG_0(), true);
}
public Blob(Blob other) {
this(JamiServiceJNI.new_Blob__SWIG_1(Blob.getCPtr(other), other), true);
}
public long capacity() {
return JamiServiceJNI.Blob_capacity(swigCPtr, this);
}
public void reserve(long n) {
JamiServiceJNI.Blob_reserve(swigCPtr, this, n);
}
public boolean isEmpty() {
return JamiServiceJNI.Blob_isEmpty(swigCPtr, this);
}
public void clear() {
JamiServiceJNI.Blob_clear(swigCPtr, this);
}
public Blob(int count, byte value) {
this(JamiServiceJNI.new_Blob__SWIG_2(count, value), true);
}
private int doSize() {
return JamiServiceJNI.Blob_doSize(swigCPtr, this);
}
private void doAdd(byte x) {
JamiServiceJNI.Blob_doAdd__SWIG_0(swigCPtr, this, x);
}
private void doAdd(int index, byte x) {
JamiServiceJNI.Blob_doAdd__SWIG_1(swigCPtr, this, index, x);
}
private byte doRemove(int index) {
return JamiServiceJNI.Blob_doRemove(swigCPtr, this, index);
}
private byte doGet(int index) {
return JamiServiceJNI.Blob_doGet(swigCPtr, this, index);
}
private byte doSet(int index, byte val) {
return JamiServiceJNI.Blob_doSet(swigCPtr, this, index, val);
}
private void doRemoveRange(int fromIndex, int toIndex) {
JamiServiceJNI.Blob_doRemoveRange(swigCPtr, this, fromIndex, toIndex);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class Callback {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected Callback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(Callback obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_Callback(swigCPtr);
}
swigCPtr = 0;
}
}
protected void swigDirectorDisconnect() {
swigCMemOwn = false;
delete();
}
public void swigReleaseOwnership() {
swigCMemOwn = false;
JamiServiceJNI.Callback_change_ownership(this, swigCPtr, false);
}
public void swigTakeOwnership() {
swigCMemOwn = true;
JamiServiceJNI.Callback_change_ownership(this, swigCPtr, true);
}
public void callStateChanged(String call_id, String state, int detail_code) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_callStateChanged(swigCPtr, this, call_id, state, detail_code); else JamiServiceJNI.Callback_callStateChangedSwigExplicitCallback(swigCPtr, this, call_id, state, detail_code);
}
public void transferFailed() {
if (getClass() == Callback.class) JamiServiceJNI.Callback_transferFailed(swigCPtr, this); else JamiServiceJNI.Callback_transferFailedSwigExplicitCallback(swigCPtr, this);
}
public void transferSucceeded() {
if (getClass() == Callback.class) JamiServiceJNI.Callback_transferSucceeded(swigCPtr, this); else JamiServiceJNI.Callback_transferSucceededSwigExplicitCallback(swigCPtr, this);
}
public void recordPlaybackStopped(String path) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_recordPlaybackStopped(swigCPtr, this, path); else JamiServiceJNI.Callback_recordPlaybackStoppedSwigExplicitCallback(swigCPtr, this, path);
}
public void voiceMailNotify(String accountId, int newCount, int oldCount, int urgentCount) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_voiceMailNotify(swigCPtr, this, accountId, newCount, oldCount, urgentCount); else JamiServiceJNI.Callback_voiceMailNotifySwigExplicitCallback(swigCPtr, this, accountId, newCount, oldCount, urgentCount);
}
public void incomingMessage(String id, String from, StringMap messages) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_incomingMessage(swigCPtr, this, id, from, StringMap.getCPtr(messages), messages); else JamiServiceJNI.Callback_incomingMessageSwigExplicitCallback(swigCPtr, this, id, from, StringMap.getCPtr(messages), messages);
}
public void incomingCall(String account_id, String call_id, String from) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_incomingCall(swigCPtr, this, account_id, call_id, from); else JamiServiceJNI.Callback_incomingCallSwigExplicitCallback(swigCPtr, this, account_id, call_id, from);
}
public void incomingCallWithMedia(String account_id, String call_id, String from, VectMap mediaList) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_incomingCallWithMedia(swigCPtr, this, account_id, call_id, from, VectMap.getCPtr(mediaList), mediaList); else JamiServiceJNI.Callback_incomingCallWithMediaSwigExplicitCallback(swigCPtr, this, account_id, call_id, from, VectMap.getCPtr(mediaList), mediaList);
}
public void mediaChangeRequested(String account_id, String call_id, VectMap mediaList) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_mediaChangeRequested(swigCPtr, this, account_id, call_id, VectMap.getCPtr(mediaList), mediaList); else JamiServiceJNI.Callback_mediaChangeRequestedSwigExplicitCallback(swigCPtr, this, account_id, call_id, VectMap.getCPtr(mediaList), mediaList);
}
public void recordPlaybackFilepath(String id, String filename) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_recordPlaybackFilepath(swigCPtr, this, id, filename); else JamiServiceJNI.Callback_recordPlaybackFilepathSwigExplicitCallback(swigCPtr, this, id, filename);
}
public void conferenceCreated(String conf_id) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_conferenceCreated(swigCPtr, this, conf_id); else JamiServiceJNI.Callback_conferenceCreatedSwigExplicitCallback(swigCPtr, this, conf_id);
}
public void conferenceChanged(String conf_id, String state) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_conferenceChanged(swigCPtr, this, conf_id, state); else JamiServiceJNI.Callback_conferenceChangedSwigExplicitCallback(swigCPtr, this, conf_id, state);
}
public void conferenceRemoved(String conf_id) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_conferenceRemoved(swigCPtr, this, conf_id); else JamiServiceJNI.Callback_conferenceRemovedSwigExplicitCallback(swigCPtr, this, conf_id);
}
public void updatePlaybackScale(String filepath, int position, int scale) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_updatePlaybackScale(swigCPtr, this, filepath, position, scale); else JamiServiceJNI.Callback_updatePlaybackScaleSwigExplicitCallback(swigCPtr, this, filepath, position, scale);
}
public void newCall(String account_id, String call_id, String to) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_newCall(swigCPtr, this, account_id, call_id, to); else JamiServiceJNI.Callback_newCallSwigExplicitCallback(swigCPtr, this, account_id, call_id, to);
}
public void sipCallStateChange(String call_id, String state, int code) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_sipCallStateChange(swigCPtr, this, call_id, state, code); else JamiServiceJNI.Callback_sipCallStateChangeSwigExplicitCallback(swigCPtr, this, call_id, state, code);
}
public void recordingStateChanged(String call_id, int code) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_recordingStateChanged(swigCPtr, this, call_id, code); else JamiServiceJNI.Callback_recordingStateChangedSwigExplicitCallback(swigCPtr, this, call_id, code);
}
public void recordStateChange(String call_id, int state) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_recordStateChange(swigCPtr, this, call_id, state); else JamiServiceJNI.Callback_recordStateChangeSwigExplicitCallback(swigCPtr, this, call_id, state);
}
public void onRtcpReportReceived(String call_id, IntegerMap stats) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_onRtcpReportReceived(swigCPtr, this, call_id, IntegerMap.getCPtr(stats), stats); else JamiServiceJNI.Callback_onRtcpReportReceivedSwigExplicitCallback(swigCPtr, this, call_id, IntegerMap.getCPtr(stats), stats);
}
public void onConferenceInfosUpdated(String confId, VectMap infos) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_onConferenceInfosUpdated(swigCPtr, this, confId, VectMap.getCPtr(infos), infos); else JamiServiceJNI.Callback_onConferenceInfosUpdatedSwigExplicitCallback(swigCPtr, this, confId, VectMap.getCPtr(infos), infos);
}
public void peerHold(String call_id, boolean holding) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_peerHold(swigCPtr, this, call_id, holding); else JamiServiceJNI.Callback_peerHoldSwigExplicitCallback(swigCPtr, this, call_id, holding);
}
public void connectionUpdate(String id, int state) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_connectionUpdate(swigCPtr, this, id, state); else JamiServiceJNI.Callback_connectionUpdateSwigExplicitCallback(swigCPtr, this, id, state);
}
public void remoteRecordingChanged(String call_id, String peer_number, boolean state) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_remoteRecordingChanged(swigCPtr, this, call_id, peer_number, state); else JamiServiceJNI.Callback_remoteRecordingChangedSwigExplicitCallback(swigCPtr, this, call_id, peer_number, state);
}
public void mediaNegotiationStatus(String call_id, String event, VectMap mediaList) {
if (getClass() == Callback.class) JamiServiceJNI.Callback_mediaNegotiationStatus(swigCPtr, this, call_id, event, VectMap.getCPtr(mediaList), mediaList); else JamiServiceJNI.Callback_mediaNegotiationStatusSwigExplicitCallback(swigCPtr, this, call_id, event, VectMap.getCPtr(mediaList), mediaList);
}
public Callback() {
this(JamiServiceJNI.new_Callback(), true);
JamiServiceJNI.Callback_director_connect(this, swigCPtr, true, true);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class ConfigurationCallback {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected ConfigurationCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(ConfigurationCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_ConfigurationCallback(swigCPtr);
}
swigCPtr = 0;
}
}
protected void swigDirectorDisconnect() {
swigCMemOwn = false;
delete();
}
public void swigReleaseOwnership() {
swigCMemOwn = false;
JamiServiceJNI.ConfigurationCallback_change_ownership(this, swigCPtr, false);
}
public void swigTakeOwnership() {
swigCMemOwn = true;
JamiServiceJNI.ConfigurationCallback_change_ownership(this, swigCPtr, true);
}
public void volumeChanged(String device, int value) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_volumeChanged(swigCPtr, this, device, value); else JamiServiceJNI.ConfigurationCallback_volumeChangedSwigExplicitConfigurationCallback(swigCPtr, this, device, value);
}
public void accountsChanged() {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_accountsChanged(swigCPtr, this); else JamiServiceJNI.ConfigurationCallback_accountsChangedSwigExplicitConfigurationCallback(swigCPtr, this);
}
public void historyChanged() {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_historyChanged(swigCPtr, this); else JamiServiceJNI.ConfigurationCallback_historyChangedSwigExplicitConfigurationCallback(swigCPtr, this);
}
public void stunStatusFailure(String account_id) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_stunStatusFailure(swigCPtr, this, account_id); else JamiServiceJNI.ConfigurationCallback_stunStatusFailureSwigExplicitConfigurationCallback(swigCPtr, this, account_id);
}
public void accountDetailsChanged(String account_id, StringMap details) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_accountDetailsChanged(swigCPtr, this, account_id, StringMap.getCPtr(details), details); else JamiServiceJNI.ConfigurationCallback_accountDetailsChangedSwigExplicitConfigurationCallback(swigCPtr, this, account_id, StringMap.getCPtr(details), details);
}
public void profileReceived(String arg0, String arg1, String arg2) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_profileReceived(swigCPtr, this, arg0, arg1, arg2); else JamiServiceJNI.ConfigurationCallback_profileReceivedSwigExplicitConfigurationCallback(swigCPtr, this, arg0, arg1, arg2);
}
public void registrationStateChanged(String account_id, String state, int code, String detail_str) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_registrationStateChanged(swigCPtr, this, account_id, state, code, detail_str); else JamiServiceJNI.ConfigurationCallback_registrationStateChangedSwigExplicitConfigurationCallback(swigCPtr, this, account_id, state, code, detail_str);
}
public void volatileAccountDetailsChanged(String account_id, StringMap details) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_volatileAccountDetailsChanged(swigCPtr, this, account_id, StringMap.getCPtr(details), details); else JamiServiceJNI.ConfigurationCallback_volatileAccountDetailsChangedSwigExplicitConfigurationCallback(swigCPtr, this, account_id, StringMap.getCPtr(details), details);
}
public void incomingAccountMessage(String arg0, String arg1, String arg2, StringMap arg3) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_incomingAccountMessage(swigCPtr, this, arg0, arg1, arg2, StringMap.getCPtr(arg3), arg3); else JamiServiceJNI.ConfigurationCallback_incomingAccountMessageSwigExplicitConfigurationCallback(swigCPtr, this, arg0, arg1, arg2, StringMap.getCPtr(arg3), arg3);
}
public void accountMessageStatusChanged(String arg0, String arg1, String arg2, String arg3, int arg4) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_accountMessageStatusChanged(swigCPtr, this, arg0, arg1, arg2, arg3, arg4); else JamiServiceJNI.ConfigurationCallback_accountMessageStatusChangedSwigExplicitConfigurationCallback(swigCPtr, this, arg0, arg1, arg2, arg3, arg4);
}
public void composingStatusChanged(String arg0, String arg1, String arg2, int arg3) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_composingStatusChanged(swigCPtr, this, arg0, arg1, arg2, arg3); else JamiServiceJNI.ConfigurationCallback_composingStatusChangedSwigExplicitConfigurationCallback(swigCPtr, this, arg0, arg1, arg2, arg3);
}
public void knownDevicesChanged(String arg0, StringMap arg1) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_knownDevicesChanged(swigCPtr, this, arg0, StringMap.getCPtr(arg1), arg1); else JamiServiceJNI.ConfigurationCallback_knownDevicesChangedSwigExplicitConfigurationCallback(swigCPtr, this, arg0, StringMap.getCPtr(arg1), arg1);
}
public void exportOnRingEnded(String arg0, int arg1, String arg2) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_exportOnRingEnded(swigCPtr, this, arg0, arg1, arg2); else JamiServiceJNI.ConfigurationCallback_exportOnRingEndedSwigExplicitConfigurationCallback(swigCPtr, this, arg0, arg1, arg2);
}
public void incomingTrustRequest(String arg0, String arg1, String arg2, Blob arg3, long received) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_incomingTrustRequest(swigCPtr, this, arg0, arg1, arg2, Blob.getCPtr(arg3), arg3, received); else JamiServiceJNI.ConfigurationCallback_incomingTrustRequestSwigExplicitConfigurationCallback(swigCPtr, this, arg0, arg1, arg2, Blob.getCPtr(arg3), arg3, received);
}
public void contactAdded(String arg0, String arg1, boolean confirmed) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_contactAdded(swigCPtr, this, arg0, arg1, confirmed); else JamiServiceJNI.ConfigurationCallback_contactAddedSwigExplicitConfigurationCallback(swigCPtr, this, arg0, arg1, confirmed);
}
public void contactRemoved(String arg0, String arg1, boolean banned) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_contactRemoved(swigCPtr, this, arg0, arg1, banned); else JamiServiceJNI.ConfigurationCallback_contactRemovedSwigExplicitConfigurationCallback(swigCPtr, this, arg0, arg1, banned);
}
public void certificatePinned(String arg0) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_certificatePinned(swigCPtr, this, arg0); else JamiServiceJNI.ConfigurationCallback_certificatePinnedSwigExplicitConfigurationCallback(swigCPtr, this, arg0);
}
public void certificatePathPinned(String arg0, StringVect arg1) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_certificatePathPinned(swigCPtr, this, arg0, StringVect.getCPtr(arg1), arg1); else JamiServiceJNI.ConfigurationCallback_certificatePathPinnedSwigExplicitConfigurationCallback(swigCPtr, this, arg0, StringVect.getCPtr(arg1), arg1);
}
public void certificateExpired(String arg0) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_certificateExpired(swigCPtr, this, arg0); else JamiServiceJNI.ConfigurationCallback_certificateExpiredSwigExplicitConfigurationCallback(swigCPtr, this, arg0);
}
public void certificateStateChanged(String arg0, String arg1, String arg2) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_certificateStateChanged(swigCPtr, this, arg0, arg1, arg2); else JamiServiceJNI.ConfigurationCallback_certificateStateChangedSwigExplicitConfigurationCallback(swigCPtr, this, arg0, arg1, arg2);
}
public void errorAlert(int alert) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_errorAlert(swigCPtr, this, alert); else JamiServiceJNI.ConfigurationCallback_errorAlertSwigExplicitConfigurationCallback(swigCPtr, this, alert);
}
public void getHardwareAudioFormat(IntVect arg0) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_getHardwareAudioFormat(swigCPtr, this, IntVect.getCPtr(arg0), arg0); else JamiServiceJNI.ConfigurationCallback_getHardwareAudioFormatSwigExplicitConfigurationCallback(swigCPtr, this, IntVect.getCPtr(arg0), arg0);
}
public void getAppDataPath(String arg0, StringVect arg1) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_getAppDataPath(swigCPtr, this, arg0, StringVect.getCPtr(arg1), arg1); else JamiServiceJNI.ConfigurationCallback_getAppDataPathSwigExplicitConfigurationCallback(swigCPtr, this, arg0, StringVect.getCPtr(arg1), arg1);
}
public void getDeviceName(StringVect arg0) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_getDeviceName(swigCPtr, this, StringVect.getCPtr(arg0), arg0); else JamiServiceJNI.ConfigurationCallback_getDeviceNameSwigExplicitConfigurationCallback(swigCPtr, this, StringVect.getCPtr(arg0), arg0);
}
public void nameRegistrationEnded(String arg0, int state, String arg2) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_nameRegistrationEnded(swigCPtr, this, arg0, state, arg2); else JamiServiceJNI.ConfigurationCallback_nameRegistrationEndedSwigExplicitConfigurationCallback(swigCPtr, this, arg0, state, arg2);
}
public void registeredNameFound(String arg0, int state, String arg2, String arg3) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_registeredNameFound(swigCPtr, this, arg0, state, arg2, arg3); else JamiServiceJNI.ConfigurationCallback_registeredNameFoundSwigExplicitConfigurationCallback(swigCPtr, this, arg0, state, arg2, arg3);
}
public void userSearchEnded(String arg0, int state, String arg2, VectMap arg3) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_userSearchEnded(swigCPtr, this, arg0, state, arg2, VectMap.getCPtr(arg3), arg3); else JamiServiceJNI.ConfigurationCallback_userSearchEndedSwigExplicitConfigurationCallback(swigCPtr, this, arg0, state, arg2, VectMap.getCPtr(arg3), arg3);
}
public void migrationEnded(String arg0, String arg1) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_migrationEnded(swigCPtr, this, arg0, arg1); else JamiServiceJNI.ConfigurationCallback_migrationEndedSwigExplicitConfigurationCallback(swigCPtr, this, arg0, arg1);
}
public void deviceRevocationEnded(String arg0, String arg1, int arg2) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_deviceRevocationEnded(swigCPtr, this, arg0, arg1, arg2); else JamiServiceJNI.ConfigurationCallback_deviceRevocationEndedSwigExplicitConfigurationCallback(swigCPtr, this, arg0, arg1, arg2);
}
public void accountProfileReceived(String arg0, String arg1, String arg2) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_accountProfileReceived(swigCPtr, this, arg0, arg1, arg2); else JamiServiceJNI.ConfigurationCallback_accountProfileReceivedSwigExplicitConfigurationCallback(swigCPtr, this, arg0, arg1, arg2);
}
public void hardwareDecodingChanged(boolean arg0) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_hardwareDecodingChanged(swigCPtr, this, arg0); else JamiServiceJNI.ConfigurationCallback_hardwareDecodingChangedSwigExplicitConfigurationCallback(swigCPtr, this, arg0);
}
public void hardwareEncodingChanged(boolean arg0) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_hardwareEncodingChanged(swigCPtr, this, arg0); else JamiServiceJNI.ConfigurationCallback_hardwareEncodingChangedSwigExplicitConfigurationCallback(swigCPtr, this, arg0);
}
public void audioMeter(String arg0, float arg1) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_audioMeter(swigCPtr, this, arg0, arg1); else JamiServiceJNI.ConfigurationCallback_audioMeterSwigExplicitConfigurationCallback(swigCPtr, this, arg0, arg1);
}
public void messageSend(String arg0) {
if (getClass() == ConfigurationCallback.class) JamiServiceJNI.ConfigurationCallback_messageSend(swigCPtr, this, arg0); else JamiServiceJNI.ConfigurationCallback_messageSendSwigExplicitConfigurationCallback(swigCPtr, this, arg0);
}
public ConfigurationCallback() {
this(JamiServiceJNI.new_ConfigurationCallback(), true);
JamiServiceJNI.ConfigurationCallback_director_connect(this, swigCPtr, true, true);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class ConversationCallback {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected ConversationCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(ConversationCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_ConversationCallback(swigCPtr);
}
swigCPtr = 0;
}
}
protected void swigDirectorDisconnect() {
swigCMemOwn = false;
delete();
}
public void swigReleaseOwnership() {
swigCMemOwn = false;
JamiServiceJNI.ConversationCallback_change_ownership(this, swigCPtr, false);
}
public void swigTakeOwnership() {
swigCMemOwn = true;
JamiServiceJNI.ConversationCallback_change_ownership(this, swigCPtr, true);
}
public void conversationLoaded(long arg0, String arg1, String arg2, VectMap arg3) {
if (getClass() == ConversationCallback.class) JamiServiceJNI.ConversationCallback_conversationLoaded(swigCPtr, this, arg0, arg1, arg2, VectMap.getCPtr(arg3), arg3); else JamiServiceJNI.ConversationCallback_conversationLoadedSwigExplicitConversationCallback(swigCPtr, this, arg0, arg1, arg2, VectMap.getCPtr(arg3), arg3);
}
public void messageReceived(String arg0, String arg1, StringMap arg2) {
if (getClass() == ConversationCallback.class) JamiServiceJNI.ConversationCallback_messageReceived(swigCPtr, this, arg0, arg1, StringMap.getCPtr(arg2), arg2); else JamiServiceJNI.ConversationCallback_messageReceivedSwigExplicitConversationCallback(swigCPtr, this, arg0, arg1, StringMap.getCPtr(arg2), arg2);
}
public void conversationRequestReceived(String arg0, String arg1, StringMap arg2) {
if (getClass() == ConversationCallback.class) JamiServiceJNI.ConversationCallback_conversationRequestReceived(swigCPtr, this, arg0, arg1, StringMap.getCPtr(arg2), arg2); else JamiServiceJNI.ConversationCallback_conversationRequestReceivedSwigExplicitConversationCallback(swigCPtr, this, arg0, arg1, StringMap.getCPtr(arg2), arg2);
}
public void conversationRequestDeclined(String arg0, String arg1) {
if (getClass() == ConversationCallback.class) JamiServiceJNI.ConversationCallback_conversationRequestDeclined(swigCPtr, this, arg0, arg1); else JamiServiceJNI.ConversationCallback_conversationRequestDeclinedSwigExplicitConversationCallback(swigCPtr, this, arg0, arg1);
}
public void conversationReady(String arg0, String arg1) {
if (getClass() == ConversationCallback.class) JamiServiceJNI.ConversationCallback_conversationReady(swigCPtr, this, arg0, arg1); else JamiServiceJNI.ConversationCallback_conversationReadySwigExplicitConversationCallback(swigCPtr, this, arg0, arg1);
}
public void conversationRemoved(String arg0, String arg1) {
if (getClass() == ConversationCallback.class) JamiServiceJNI.ConversationCallback_conversationRemoved(swigCPtr, this, arg0, arg1); else JamiServiceJNI.ConversationCallback_conversationRemovedSwigExplicitConversationCallback(swigCPtr, this, arg0, arg1);
}
public void conversationMemberEvent(String arg0, String arg1, String arg2, int arg3) {
if (getClass() == ConversationCallback.class) JamiServiceJNI.ConversationCallback_conversationMemberEvent(swigCPtr, this, arg0, arg1, arg2, arg3); else JamiServiceJNI.ConversationCallback_conversationMemberEventSwigExplicitConversationCallback(swigCPtr, this, arg0, arg1, arg2, arg3);
}
public void onConversationError(String arg0, String arg1, long arg2, String arg3) {
if (getClass() == ConversationCallback.class) JamiServiceJNI.ConversationCallback_onConversationError(swigCPtr, this, arg0, arg1, arg2, arg3); else JamiServiceJNI.ConversationCallback_onConversationErrorSwigExplicitConversationCallback(swigCPtr, this, arg0, arg1, arg2, arg3);
}
public ConversationCallback() {
this(JamiServiceJNI.new_ConversationCallback(), true);
JamiServiceJNI.ConversationCallback_director_connect(this, swigCPtr, true, true);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class DataTransferCallback {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected DataTransferCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(DataTransferCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_DataTransferCallback(swigCPtr);
}
swigCPtr = 0;
}
}
protected void swigDirectorDisconnect() {
swigCMemOwn = false;
delete();
}
public void swigReleaseOwnership() {
swigCMemOwn = false;
JamiServiceJNI.DataTransferCallback_change_ownership(this, swigCPtr, false);
}
public void swigTakeOwnership() {
swigCMemOwn = true;
JamiServiceJNI.DataTransferCallback_change_ownership(this, swigCPtr, true);
}
public void dataTransferEvent(String accountId, String conversationId, String interactionId, String fileId, int eventCode) {
if (getClass() == DataTransferCallback.class) JamiServiceJNI.DataTransferCallback_dataTransferEvent(swigCPtr, this, accountId, conversationId, interactionId, fileId, eventCode); else JamiServiceJNI.DataTransferCallback_dataTransferEventSwigExplicitDataTransferCallback(swigCPtr, this, accountId, conversationId, interactionId, fileId, eventCode);
}
public DataTransferCallback() {
this(JamiServiceJNI.new_DataTransferCallback(), true);
JamiServiceJNI.DataTransferCallback_director_connect(this, swigCPtr, true, true);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class DataTransferInfo {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected DataTransferInfo(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(DataTransferInfo obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_DataTransferInfo(swigCPtr);
}
swigCPtr = 0;
}
}
public void setAccountId(String value) {
JamiServiceJNI.DataTransferInfo_accountId_set(swigCPtr, this, value);
}
public String getAccountId() {
return JamiServiceJNI.DataTransferInfo_accountId_get(swigCPtr, this);
}
public void setLastEvent(long value) {
JamiServiceJNI.DataTransferInfo_lastEvent_set(swigCPtr, this, value);
}
public long getLastEvent() {
return JamiServiceJNI.DataTransferInfo_lastEvent_get(swigCPtr, this);
}
public void setFlags(long value) {
JamiServiceJNI.DataTransferInfo_flags_set(swigCPtr, this, value);
}
public long getFlags() {
return JamiServiceJNI.DataTransferInfo_flags_get(swigCPtr, this);
}
public void setTotalSize(long value) {
JamiServiceJNI.DataTransferInfo_totalSize_set(swigCPtr, this, value);
}
public long getTotalSize() {
return JamiServiceJNI.DataTransferInfo_totalSize_get(swigCPtr, this);
}
public void setBytesProgress(long value) {
JamiServiceJNI.DataTransferInfo_bytesProgress_set(swigCPtr, this, value);
}
public long getBytesProgress() {
return JamiServiceJNI.DataTransferInfo_bytesProgress_get(swigCPtr, this);
}
public void setAuthor(String value) {
JamiServiceJNI.DataTransferInfo_author_set(swigCPtr, this, value);
}
public String getAuthor() {
return JamiServiceJNI.DataTransferInfo_author_get(swigCPtr, this);
}
public void setPeer(String value) {
JamiServiceJNI.DataTransferInfo_peer_set(swigCPtr, this, value);
}
public String getPeer() {
return JamiServiceJNI.DataTransferInfo_peer_get(swigCPtr, this);
}
public void setConversationId(String value) {
JamiServiceJNI.DataTransferInfo_conversationId_set(swigCPtr, this, value);
}
public String getConversationId() {
return JamiServiceJNI.DataTransferInfo_conversationId_get(swigCPtr, this);
}
public void setDisplayName(String value) {
JamiServiceJNI.DataTransferInfo_displayName_set(swigCPtr, this, value);
}
public String getDisplayName() {
return JamiServiceJNI.DataTransferInfo_displayName_get(swigCPtr, this);
}
public void setPath(String value) {
JamiServiceJNI.DataTransferInfo_path_set(swigCPtr, this, value);
}
public String getPath() {
return JamiServiceJNI.DataTransferInfo_path_get(swigCPtr, this);
}
public void setMimetype(String value) {
JamiServiceJNI.DataTransferInfo_mimetype_set(swigCPtr, this, value);
}
public String getMimetype() {
return JamiServiceJNI.DataTransferInfo_mimetype_get(swigCPtr, this);
}
public DataTransferInfo() {
this(JamiServiceJNI.new_DataTransferInfo(), true);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class FloatVect extends java.util.AbstractList<Float> implements java.util.RandomAccess {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected FloatVect(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(FloatVect obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_FloatVect(swigCPtr);
}
swigCPtr = 0;
}
}
public FloatVect(float[] initialElements) {
this();
reserve(initialElements.length);
for (float element : initialElements) {
add(element);
}
}
public FloatVect(Iterable<Float> initialElements) {
this();
for (float element : initialElements) {
add(element);
}
}
public Float get(int index) {
return doGet(index);
}
public Float set(int index, Float e) {
return doSet(index, e);
}
public boolean add(Float e) {
modCount++;
doAdd(e);
return true;
}
public void add(int index, Float e) {
modCount++;
doAdd(index, e);
}
public Float remove(int index) {
modCount++;
return doRemove(index);
}
protected void removeRange(int fromIndex, int toIndex) {
modCount++;
doRemoveRange(fromIndex, toIndex);
}
public int size() {
return doSize();
}
public FloatVect() {
this(JamiServiceJNI.new_FloatVect__SWIG_0(), true);
}
public FloatVect(FloatVect other) {
this(JamiServiceJNI.new_FloatVect__SWIG_1(FloatVect.getCPtr(other), other), true);
}
public long capacity() {
return JamiServiceJNI.FloatVect_capacity(swigCPtr, this);
}
public void reserve(long n) {
JamiServiceJNI.FloatVect_reserve(swigCPtr, this, n);
}
public boolean isEmpty() {
return JamiServiceJNI.FloatVect_isEmpty(swigCPtr, this);
}
public void clear() {
JamiServiceJNI.FloatVect_clear(swigCPtr, this);
}
public FloatVect(int count, float value) {
this(JamiServiceJNI.new_FloatVect__SWIG_2(count, value), true);
}
private int doSize() {
return JamiServiceJNI.FloatVect_doSize(swigCPtr, this);
}
private void doAdd(float x) {
JamiServiceJNI.FloatVect_doAdd__SWIG_0(swigCPtr, this, x);
}
private void doAdd(int index, float x) {
JamiServiceJNI.FloatVect_doAdd__SWIG_1(swigCPtr, this, index, x);
}
private float doRemove(int index) {
return JamiServiceJNI.FloatVect_doRemove(swigCPtr, this, index);
}
private float doGet(int index) {
return JamiServiceJNI.FloatVect_doGet(swigCPtr, this, index);
}
private float doSet(int index, float val) {
return JamiServiceJNI.FloatVect_doSet(swigCPtr, this, index, val);
}
private void doRemoveRange(int fromIndex, int toIndex) {
JamiServiceJNI.FloatVect_doRemoveRange(swigCPtr, this, fromIndex, toIndex);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class IntVect extends java.util.AbstractList<Integer> implements java.util.RandomAccess {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected IntVect(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(IntVect obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_IntVect(swigCPtr);
}
swigCPtr = 0;
}
}
public IntVect(int[] initialElements) {
this();
reserve(initialElements.length);
for (int element : initialElements) {
add(element);
}
}
public IntVect(Iterable<Integer> initialElements) {
this();
for (int element : initialElements) {
add(element);
}
}
public Integer get(int index) {
return doGet(index);
}
public Integer set(int index, Integer e) {
return doSet(index, e);
}
public boolean add(Integer e) {
modCount++;
doAdd(e);
return true;
}
public void add(int index, Integer e) {
modCount++;
doAdd(index, e);
}
public Integer remove(int index) {
modCount++;
return doRemove(index);
}
protected void removeRange(int fromIndex, int toIndex) {
modCount++;
doRemoveRange(fromIndex, toIndex);
}
public int size() {
return doSize();
}
public IntVect() {
this(JamiServiceJNI.new_IntVect__SWIG_0(), true);
}
public IntVect(IntVect other) {
this(JamiServiceJNI.new_IntVect__SWIG_1(IntVect.getCPtr(other), other), true);
}
public long capacity() {
return JamiServiceJNI.IntVect_capacity(swigCPtr, this);
}
public void reserve(long n) {
JamiServiceJNI.IntVect_reserve(swigCPtr, this, n);
}
public boolean isEmpty() {
return JamiServiceJNI.IntVect_isEmpty(swigCPtr, this);
}
public void clear() {
JamiServiceJNI.IntVect_clear(swigCPtr, this);
}
public IntVect(int count, int value) {
this(JamiServiceJNI.new_IntVect__SWIG_2(count, value), true);
}
private int doSize() {
return JamiServiceJNI.IntVect_doSize(swigCPtr, this);
}
private void doAdd(int x) {
JamiServiceJNI.IntVect_doAdd__SWIG_0(swigCPtr, this, x);
}
private void doAdd(int index, int x) {
JamiServiceJNI.IntVect_doAdd__SWIG_1(swigCPtr, this, index, x);
}
private int doRemove(int index) {
return JamiServiceJNI.IntVect_doRemove(swigCPtr, this, index);
}
private int doGet(int index) {
return JamiServiceJNI.IntVect_doGet(swigCPtr, this, index);
}
private int doSet(int index, int val) {
return JamiServiceJNI.IntVect_doSet(swigCPtr, this, index, val);
}
private void doRemoveRange(int fromIndex, int toIndex) {
JamiServiceJNI.IntVect_doRemoveRange(swigCPtr, this, fromIndex, toIndex);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class IntegerMap extends java.util.AbstractMap<String, Integer> {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected IntegerMap(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(IntegerMap obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_IntegerMap(swigCPtr);
}
swigCPtr = 0;
}
}
public int size() {
return sizeImpl();
}
public boolean containsKey(java.lang.Object key) {
if (!(key instanceof String)) {
return false;
}
return containsImpl((String)key);
}
public Integer get(java.lang.Object key) {
if (!(key instanceof String)) {
return null;
}
Iterator itr = find((String) key);
if (itr.isNot(end())) {
return itr.getValue();
}
return null;
}
public Integer put(String key, Integer value) {
Iterator itr = find((String) key);
if (itr.isNot(end())) {
Integer oldValue = itr.getValue();
itr.setValue(value);
return oldValue;
} else {
putUnchecked(key, value);
return null;
}
}
public Integer remove(java.lang.Object key) {
if (!(key instanceof String)) {
return null;
}
Iterator itr = find((String) key);
if (itr.isNot(end())) {
Integer oldValue = itr.getValue();
removeUnchecked(itr);
return oldValue;
} else {
return null;
}
}
public java.util.Set<Entry<String, Integer>> entrySet() {
java.util.Set<Entry<String, Integer>> setToReturn =
new java.util.HashSet<Entry<String, Integer>>();
Iterator itr = begin();
final Iterator end = end();
while (itr.isNot(end)) {
setToReturn.add(new Entry<String, Integer>() {
private Iterator iterator;
private Entry<String, Integer> init(Iterator iterator) {
this.iterator = iterator;
return this;
}
public String getKey() {
return iterator.getKey();
}
public Integer getValue() {
return iterator.getValue();
}
public Integer setValue(Integer newValue) {
Integer oldValue = iterator.getValue();
iterator.setValue(newValue);
return oldValue;
}
}.init(itr));
itr = itr.getNextUnchecked();
}
return setToReturn;
}
public IntegerMap() {
this(JamiServiceJNI.new_IntegerMap__SWIG_0(), true);
}
public IntegerMap(IntegerMap other) {
this(JamiServiceJNI.new_IntegerMap__SWIG_1(IntegerMap.getCPtr(other), other), true);
}
static protected class Iterator {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected Iterator(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(Iterator obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_IntegerMap_Iterator(swigCPtr);
}
swigCPtr = 0;
}
}
private IntegerMap.Iterator getNextUnchecked() {
return new IntegerMap.Iterator(JamiServiceJNI.IntegerMap_Iterator_getNextUnchecked(swigCPtr, this), true);
}
private boolean isNot(IntegerMap.Iterator other) {
return JamiServiceJNI.IntegerMap_Iterator_isNot(swigCPtr, this, IntegerMap.Iterator.getCPtr(other), other);
}
private String getKey() {
return JamiServiceJNI.IntegerMap_Iterator_getKey(swigCPtr, this);
}
private int getValue() {
return JamiServiceJNI.IntegerMap_Iterator_getValue(swigCPtr, this);
}
private void setValue(int newValue) {
JamiServiceJNI.IntegerMap_Iterator_setValue(swigCPtr, this, newValue);
}
}
public boolean isEmpty() {
return JamiServiceJNI.IntegerMap_isEmpty(swigCPtr, this);
}
public void clear() {
JamiServiceJNI.IntegerMap_clear(swigCPtr, this);
}
private IntegerMap.Iterator find(String key) {
return new IntegerMap.Iterator(JamiServiceJNI.IntegerMap_find(swigCPtr, this, key), true);
}
private IntegerMap.Iterator begin() {
return new IntegerMap.Iterator(JamiServiceJNI.IntegerMap_begin(swigCPtr, this), true);
}
private IntegerMap.Iterator end() {
return new IntegerMap.Iterator(JamiServiceJNI.IntegerMap_end(swigCPtr, this), true);
}
private int sizeImpl() {
return JamiServiceJNI.IntegerMap_sizeImpl(swigCPtr, this);
}
private boolean containsImpl(String key) {
return JamiServiceJNI.IntegerMap_containsImpl(swigCPtr, this, key);
}
private void putUnchecked(String key, int value) {
JamiServiceJNI.IntegerMap_putUnchecked(swigCPtr, this, key, value);
}
private void removeUnchecked(IntegerMap.Iterator itr) {
JamiServiceJNI.IntegerMap_removeUnchecked(swigCPtr, this, IntegerMap.Iterator.getCPtr(itr), itr);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class Message {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected Message(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(Message obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_Message(swigCPtr);
}
swigCPtr = 0;
}
}
public void setFrom(String value) {
JamiServiceJNI.Message_from_set(swigCPtr, this, value);
}
public String getFrom() {
return JamiServiceJNI.Message_from_get(swigCPtr, this);
}
public void setPayloads(StringMap value) {
JamiServiceJNI.Message_payloads_set(swigCPtr, this, StringMap.getCPtr(value), value);
}
public StringMap getPayloads() {
long cPtr = JamiServiceJNI.Message_payloads_get(swigCPtr, this);
return (cPtr == 0) ? null : new StringMap(cPtr, false);
}
public void setReceived(long value) {
JamiServiceJNI.Message_received_set(swigCPtr, this, value);
}
public long getReceived() {
return JamiServiceJNI.Message_received_get(swigCPtr, this);
}
public Message() {
this(JamiServiceJNI.new_Message(), true);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class MessageVect extends java.util.AbstractList<Message> implements java.util.RandomAccess {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected MessageVect(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(MessageVect obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_MessageVect(swigCPtr);
}
swigCPtr = 0;
}
}
public MessageVect(Message[] initialElements) {
this();
reserve(initialElements.length);
for (Message element : initialElements) {
add(element);
}
}
public MessageVect(Iterable<Message> initialElements) {
this();
for (Message element : initialElements) {
add(element);
}
}
public Message get(int index) {
return doGet(index);
}
public Message set(int index, Message e) {
return doSet(index, e);
}
public boolean add(Message e) {
modCount++;
doAdd(e);
return true;
}
public void add(int index, Message e) {
modCount++;
doAdd(index, e);
}
public Message remove(int index) {
modCount++;
return doRemove(index);
}
protected void removeRange(int fromIndex, int toIndex) {
modCount++;
doRemoveRange(fromIndex, toIndex);
}
public int size() {
return doSize();
}
public MessageVect() {
this(JamiServiceJNI.new_MessageVect__SWIG_0(), true);
}
public MessageVect(MessageVect other) {
this(JamiServiceJNI.new_MessageVect__SWIG_1(MessageVect.getCPtr(other), other), true);
}
public long capacity() {
return JamiServiceJNI.MessageVect_capacity(swigCPtr, this);
}
public void reserve(long n) {
JamiServiceJNI.MessageVect_reserve(swigCPtr, this, n);
}
public boolean isEmpty() {
return JamiServiceJNI.MessageVect_isEmpty(swigCPtr, this);
}
public void clear() {
JamiServiceJNI.MessageVect_clear(swigCPtr, this);
}
public MessageVect(int count, Message value) {
this(JamiServiceJNI.new_MessageVect__SWIG_2(count, Message.getCPtr(value), value), true);
}
private int doSize() {
return JamiServiceJNI.MessageVect_doSize(swigCPtr, this);
}
private void doAdd(Message x) {
JamiServiceJNI.MessageVect_doAdd__SWIG_0(swigCPtr, this, Message.getCPtr(x), x);
}
private void doAdd(int index, Message x) {
JamiServiceJNI.MessageVect_doAdd__SWIG_1(swigCPtr, this, index, Message.getCPtr(x), x);
}
private Message doRemove(int index) {
return new Message(JamiServiceJNI.MessageVect_doRemove(swigCPtr, this, index), true);
}
private Message doGet(int index) {
return new Message(JamiServiceJNI.MessageVect_doGet(swigCPtr, this, index), false);
}
private Message doSet(int index, Message val) {
return new Message(JamiServiceJNI.MessageVect_doSet(swigCPtr, this, index, Message.getCPtr(val), val), true);
}
private void doRemoveRange(int fromIndex, int toIndex) {
JamiServiceJNI.MessageVect_doRemoveRange(swigCPtr, this, fromIndex, toIndex);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class PresenceCallback {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected PresenceCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(PresenceCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_PresenceCallback(swigCPtr);
}
swigCPtr = 0;
}
}
protected void swigDirectorDisconnect() {
swigCMemOwn = false;
delete();
}
public void swigReleaseOwnership() {
swigCMemOwn = false;
JamiServiceJNI.PresenceCallback_change_ownership(this, swigCPtr, false);
}
public void swigTakeOwnership() {
swigCMemOwn = true;
JamiServiceJNI.PresenceCallback_change_ownership(this, swigCPtr, true);
}
public void newServerSubscriptionRequest(String arg0) {
if (getClass() == PresenceCallback.class) JamiServiceJNI.PresenceCallback_newServerSubscriptionRequest(swigCPtr, this, arg0); else JamiServiceJNI.PresenceCallback_newServerSubscriptionRequestSwigExplicitPresenceCallback(swigCPtr, this, arg0);
}
public void serverError(String arg0, String arg1, String arg2) {
if (getClass() == PresenceCallback.class) JamiServiceJNI.PresenceCallback_serverError(swigCPtr, this, arg0, arg1, arg2); else JamiServiceJNI.PresenceCallback_serverErrorSwigExplicitPresenceCallback(swigCPtr, this, arg0, arg1, arg2);
}
public void newBuddyNotification(String arg0, String arg1, int arg2, String arg3) {
if (getClass() == PresenceCallback.class) JamiServiceJNI.PresenceCallback_newBuddyNotification(swigCPtr, this, arg0, arg1, arg2, arg3); else JamiServiceJNI.PresenceCallback_newBuddyNotificationSwigExplicitPresenceCallback(swigCPtr, this, arg0, arg1, arg2, arg3);
}
public void nearbyPeerNotification(String arg0, String arg1, int arg2, String arg3) {
if (getClass() == PresenceCallback.class) JamiServiceJNI.PresenceCallback_nearbyPeerNotification(swigCPtr, this, arg0, arg1, arg2, arg3); else JamiServiceJNI.PresenceCallback_nearbyPeerNotificationSwigExplicitPresenceCallback(swigCPtr, this, arg0, arg1, arg2, arg3);
}
public void subscriptionStateChanged(String arg0, String arg1, int arg2) {
if (getClass() == PresenceCallback.class) JamiServiceJNI.PresenceCallback_subscriptionStateChanged(swigCPtr, this, arg0, arg1, arg2); else JamiServiceJNI.PresenceCallback_subscriptionStateChangedSwigExplicitPresenceCallback(swigCPtr, this, arg0, arg1, arg2);
}
public PresenceCallback() {
this(JamiServiceJNI.new_PresenceCallback(), true);
JamiServiceJNI.PresenceCallback_director_connect(this, swigCPtr, true, true);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class StringMap extends java.util.AbstractMap<String, String> {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected StringMap(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(StringMap obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_StringMap(swigCPtr);
}
swigCPtr = 0;
}
}
public static StringMap toSwig(java.util.Map<String,String> in) {
StringMap n = new StringMap();
for (java.util.Map.Entry<String, String> entry : in.entrySet()) {
if (entry.getValue() != null) {
n.put(entry.getKey(), entry.getValue());
}
}
return n;
}
public java.util.HashMap<String,String> toNative() {
java.util.HashMap<String,String> out = new java.util.HashMap<>((int)size());
for (Entry<String, String> e : entrySet())
out.put(e.getKey(), e.getValue());
return out;
}
public java.util.HashMap<String,String> toNativeFromUtf8() {
java.util.HashMap<String,String> out = new java.util.HashMap<>((int)size());
StringVect keys = keys();
for (String s : keys) {
out.put(s, getRaw(s).toJavaString());
}
return out;
}
public int size() {
return sizeImpl();
}
public boolean containsKey(java.lang.Object key) {
if (!(key instanceof String)) {
return false;
}
return containsImpl((String)key);
}
public String get(java.lang.Object key) {
if (!(key instanceof String)) {
return null;
}
Iterator itr = find((String) key);
if (itr.isNot(end())) {
return itr.getValue();
}
return null;
}
public String put(String key, String value) {
Iterator itr = find((String) key);
if (itr.isNot(end())) {
String oldValue = itr.getValue();
itr.setValue(value);
return oldValue;
} else {
putUnchecked(key, value);
return null;
}
}
public String remove(java.lang.Object key) {
if (!(key instanceof String)) {
return null;
}
Iterator itr = find((String) key);
if (itr.isNot(end())) {
String oldValue = itr.getValue();
removeUnchecked(itr);
return oldValue;
} else {
return null;
}
}
public java.util.Set<Entry<String, String>> entrySet() {
java.util.Set<Entry<String, String>> setToReturn =
new java.util.HashSet<Entry<String, String>>();
Iterator itr = begin();
final Iterator end = end();
while (itr.isNot(end)) {
setToReturn.add(new Entry<String, String>() {
private Iterator iterator;
private Entry<String, String> init(Iterator iterator) {
this.iterator = iterator;
return this;
}
public String getKey() {
return iterator.getKey();
}
public String getValue() {
return iterator.getValue();
}
public String setValue(String newValue) {
String oldValue = iterator.getValue();
iterator.setValue(newValue);
return oldValue;
}
}.init(itr));
itr = itr.getNextUnchecked();
}
return setToReturn;
}
public StringMap() {
this(JamiServiceJNI.new_StringMap__SWIG_0(), true);
}
public StringMap(StringMap other) {
this(JamiServiceJNI.new_StringMap__SWIG_1(StringMap.getCPtr(other), other), true);
}
static protected class Iterator {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected Iterator(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(Iterator obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_StringMap_Iterator(swigCPtr);
}
swigCPtr = 0;
}
}
private StringMap.Iterator getNextUnchecked() {
return new StringMap.Iterator(JamiServiceJNI.StringMap_Iterator_getNextUnchecked(swigCPtr, this), true);
}
private boolean isNot(StringMap.Iterator other) {
return JamiServiceJNI.StringMap_Iterator_isNot(swigCPtr, this, StringMap.Iterator.getCPtr(other), other);
}
private String getKey() {
return JamiServiceJNI.StringMap_Iterator_getKey(swigCPtr, this);
}
private String getValue() {
return JamiServiceJNI.StringMap_Iterator_getValue(swigCPtr, this);
}
private void setValue(String newValue) {
JamiServiceJNI.StringMap_Iterator_setValue(swigCPtr, this, newValue);
}
}
public boolean isEmpty() {
return JamiServiceJNI.StringMap_isEmpty(swigCPtr, this);
}
public void clear() {
JamiServiceJNI.StringMap_clear(swigCPtr, this);
}
private StringMap.Iterator find(String key) {
return new StringMap.Iterator(JamiServiceJNI.StringMap_find(swigCPtr, this, key), true);
}
private StringMap.Iterator begin() {
return new StringMap.Iterator(JamiServiceJNI.StringMap_begin(swigCPtr, this), true);
}
private StringMap.Iterator end() {
return new StringMap.Iterator(JamiServiceJNI.StringMap_end(swigCPtr, this), true);
}
private int sizeImpl() {
return JamiServiceJNI.StringMap_sizeImpl(swigCPtr, this);
}
private boolean containsImpl(String key) {
return JamiServiceJNI.StringMap_containsImpl(swigCPtr, this, key);
}
private void putUnchecked(String key, String value) {
JamiServiceJNI.StringMap_putUnchecked(swigCPtr, this, key, value);
}
private void removeUnchecked(StringMap.Iterator itr) {
JamiServiceJNI.StringMap_removeUnchecked(swigCPtr, this, StringMap.Iterator.getCPtr(itr), itr);
}
public StringVect keys() {
return new StringVect(JamiServiceJNI.StringMap_keys(swigCPtr, this), true);
}
public void setRaw(String key, Blob value) {
JamiServiceJNI.StringMap_setRaw(swigCPtr, this, key, Blob.getCPtr(value), value);
}
public Blob getRaw(String key) {
return new Blob(JamiServiceJNI.StringMap_getRaw(swigCPtr, this, key), true);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class StringVect extends java.util.AbstractList<String> implements java.util.RandomAccess {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected StringVect(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(StringVect obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_StringVect(swigCPtr);
}
swigCPtr = 0;
}
}
public StringVect(String[] initialElements) {
this();
reserve(initialElements.length);
for (String element : initialElements) {
add(element);
}
}
public StringVect(Iterable<String> initialElements) {
this();
for (String element : initialElements) {
add(element);
}
}
public String get(int index) {
return doGet(index);
}
public String set(int index, String e) {
return doSet(index, e);
}
public boolean add(String e) {
modCount++;
doAdd(e);
return true;
}
public void add(int index, String e) {
modCount++;
doAdd(index, e);
}
public String remove(int index) {
modCount++;
return doRemove(index);
}
protected void removeRange(int fromIndex, int toIndex) {
modCount++;
doRemoveRange(fromIndex, toIndex);
}
public int size() {
return doSize();
}
public StringVect() {
this(JamiServiceJNI.new_StringVect__SWIG_0(), true);
}
public StringVect(StringVect other) {
this(JamiServiceJNI.new_StringVect__SWIG_1(StringVect.getCPtr(other), other), true);
}
public long capacity() {
return JamiServiceJNI.StringVect_capacity(swigCPtr, this);
}
public void reserve(long n) {
JamiServiceJNI.StringVect_reserve(swigCPtr, this, n);
}
public boolean isEmpty() {
return JamiServiceJNI.StringVect_isEmpty(swigCPtr, this);
}
public void clear() {
JamiServiceJNI.StringVect_clear(swigCPtr, this);
}
public StringVect(int count, String value) {
this(JamiServiceJNI.new_StringVect__SWIG_2(count, value), true);
}
private int doSize() {
return JamiServiceJNI.StringVect_doSize(swigCPtr, this);
}
private void doAdd(String x) {
JamiServiceJNI.StringVect_doAdd__SWIG_0(swigCPtr, this, x);
}
private void doAdd(int index, String x) {
JamiServiceJNI.StringVect_doAdd__SWIG_1(swigCPtr, this, index, x);
}
private String doRemove(int index) {
return JamiServiceJNI.StringVect_doRemove(swigCPtr, this, index);
}
private String doGet(int index) {
return JamiServiceJNI.StringVect_doGet(swigCPtr, this, index);
}
private String doSet(int index, String val) {
return JamiServiceJNI.StringVect_doSet(swigCPtr, this, index, val);
}
private void doRemoveRange(int fromIndex, int toIndex) {
JamiServiceJNI.StringVect_doRemoveRange(swigCPtr, this, fromIndex, toIndex);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class UintVect extends java.util.AbstractList<Long> implements java.util.RandomAccess {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected UintVect(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(UintVect obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_UintVect(swigCPtr);
}
swigCPtr = 0;
}
}
public UintVect(long[] initialElements) {
this();
reserve(initialElements.length);
for (long element : initialElements) {
add(element);
}
}
public UintVect(Iterable<Long> initialElements) {
this();
for (long element : initialElements) {
add(element);
}
}
public Long get(int index) {
return doGet(index);
}
public Long set(int index, Long e) {
return doSet(index, e);
}
public boolean add(Long e) {
modCount++;
doAdd(e);
return true;
}
public void add(int index, Long e) {
modCount++;
doAdd(index, e);
}
public Long remove(int index) {
modCount++;
return doRemove(index);
}
protected void removeRange(int fromIndex, int toIndex) {
modCount++;
doRemoveRange(fromIndex, toIndex);
}
public int size() {
return doSize();
}
public UintVect() {
this(JamiServiceJNI.new_UintVect__SWIG_0(), true);
}
public UintVect(UintVect other) {
this(JamiServiceJNI.new_UintVect__SWIG_1(UintVect.getCPtr(other), other), true);
}
public long capacity() {
return JamiServiceJNI.UintVect_capacity(swigCPtr, this);
}
public void reserve(long n) {
JamiServiceJNI.UintVect_reserve(swigCPtr, this, n);
}
public boolean isEmpty() {
return JamiServiceJNI.UintVect_isEmpty(swigCPtr, this);
}
public void clear() {
JamiServiceJNI.UintVect_clear(swigCPtr, this);
}
public UintVect(int count, long value) {
this(JamiServiceJNI.new_UintVect__SWIG_2(count, value), true);
}
private int doSize() {
return JamiServiceJNI.UintVect_doSize(swigCPtr, this);
}
private void doAdd(long x) {
JamiServiceJNI.UintVect_doAdd__SWIG_0(swigCPtr, this, x);
}
private void doAdd(int index, long x) {
JamiServiceJNI.UintVect_doAdd__SWIG_1(swigCPtr, this, index, x);
}
private long doRemove(int index) {
return JamiServiceJNI.UintVect_doRemove(swigCPtr, this, index);
}
private long doGet(int index) {
return JamiServiceJNI.UintVect_doGet(swigCPtr, this, index);
}
private long doSet(int index, long val) {
return JamiServiceJNI.UintVect_doSet(swigCPtr, this, index, val);
}
private void doRemoveRange(int fromIndex, int toIndex) {
JamiServiceJNI.UintVect_doRemoveRange(swigCPtr, this, fromIndex, toIndex);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class VectMap extends java.util.AbstractList<StringMap> implements java.util.RandomAccess {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected VectMap(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(VectMap obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_VectMap(swigCPtr);
}
swigCPtr = 0;
}
}
public java.util.ArrayList<java.util.Map<String, String>> toNative() {
java.util.ArrayList<java.util.Map<String, String>> out = new java.util.ArrayList<>(size());
for (int i = 0; i < size(); ++i) {
out.add(get(i).toNative());
}
return out;
}
public VectMap(StringMap[] initialElements) {
this();
reserve(initialElements.length);
for (StringMap element : initialElements) {
add(element);
}
}
public VectMap(Iterable<StringMap> initialElements) {
this();
for (StringMap element : initialElements) {
add(element);
}
}
public StringMap get(int index) {
return doGet(index);
}
public StringMap set(int index, StringMap e) {
return doSet(index, e);
}
public boolean add(StringMap e) {
modCount++;
doAdd(e);
return true;
}
public void add(int index, StringMap e) {
modCount++;
doAdd(index, e);
}
public StringMap remove(int index) {
modCount++;
return doRemove(index);
}
protected void removeRange(int fromIndex, int toIndex) {
modCount++;
doRemoveRange(fromIndex, toIndex);
}
public int size() {
return doSize();
}
public VectMap() {
this(JamiServiceJNI.new_VectMap__SWIG_0(), true);
}
public VectMap(VectMap other) {
this(JamiServiceJNI.new_VectMap__SWIG_1(VectMap.getCPtr(other), other), true);
}
public long capacity() {
return JamiServiceJNI.VectMap_capacity(swigCPtr, this);
}
public void reserve(long n) {
JamiServiceJNI.VectMap_reserve(swigCPtr, this, n);
}
public boolean isEmpty() {
return JamiServiceJNI.VectMap_isEmpty(swigCPtr, this);
}
public void clear() {
JamiServiceJNI.VectMap_clear(swigCPtr, this);
}
public VectMap(int count, StringMap value) {
this(JamiServiceJNI.new_VectMap__SWIG_2(count, StringMap.getCPtr(value), value), true);
}
private int doSize() {
return JamiServiceJNI.VectMap_doSize(swigCPtr, this);
}
private void doAdd(StringMap x) {
JamiServiceJNI.VectMap_doAdd__SWIG_0(swigCPtr, this, StringMap.getCPtr(x), x);
}
private void doAdd(int index, StringMap x) {
JamiServiceJNI.VectMap_doAdd__SWIG_1(swigCPtr, this, index, StringMap.getCPtr(x), x);
}
private StringMap doRemove(int index) {
return new StringMap(JamiServiceJNI.VectMap_doRemove(swigCPtr, this, index), true);
}
private StringMap doGet(int index) {
return new StringMap(JamiServiceJNI.VectMap_doGet(swigCPtr, this, index), false);
}
private StringMap doSet(int index, StringMap val) {
return new StringMap(JamiServiceJNI.VectMap_doSet(swigCPtr, this, index, StringMap.getCPtr(val), val), true);
}
private void doRemoveRange(int fromIndex, int toIndex) {
JamiServiceJNI.VectMap_doRemoveRange(swigCPtr, this, fromIndex, toIndex);
}
}
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 4.0.2
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package net.jami.daemon;
public class VideoCallback {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected VideoCallback(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(VideoCallback obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
@SuppressWarnings("deprecation")
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
JamiServiceJNI.delete_VideoCallback(swigCPtr);
}
swigCPtr = 0;
}
}
protected void swigDirectorDisconnect() {
swigCMemOwn = false;
delete();
}
public void swigReleaseOwnership() {
swigCMemOwn = false;
JamiServiceJNI.VideoCallback_change_ownership(this, swigCPtr, false);
}
public void swigTakeOwnership() {
swigCMemOwn = true;
JamiServiceJNI.VideoCallback_change_ownership(this, swigCPtr, true);
}
public void getCameraInfo(String device, IntVect formats, UintVect sizes, UintVect rates) {
if (getClass() == VideoCallback.class) JamiServiceJNI.VideoCallback_getCameraInfo(swigCPtr, this, device, IntVect.getCPtr(formats), formats, UintVect.getCPtr(sizes), sizes, UintVect.getCPtr(rates), rates); else JamiServiceJNI.VideoCallback_getCameraInfoSwigExplicitVideoCallback(swigCPtr, this, device, IntVect.getCPtr(formats), formats, UintVect.getCPtr(sizes), sizes, UintVect.getCPtr(rates), rates);
}
public void setParameters(String arg0, int format, int width, int height, int rate) {
if (getClass() == VideoCallback.class) JamiServiceJNI.VideoCallback_setParameters(swigCPtr, this, arg0, format, width, height, rate); else JamiServiceJNI.VideoCallback_setParametersSwigExplicitVideoCallback(swigCPtr, this, arg0, format, width, height, rate);
}
public void setBitrate(String arg0, int bitrate) {
if (getClass() == VideoCallback.class) JamiServiceJNI.VideoCallback_setBitrate(swigCPtr, this, arg0, bitrate); else JamiServiceJNI.VideoCallback_setBitrateSwigExplicitVideoCallback(swigCPtr, this, arg0, bitrate);
}
public void requestKeyFrame() {
if (getClass() == VideoCallback.class) JamiServiceJNI.VideoCallback_requestKeyFrame(swigCPtr, this); else JamiServiceJNI.VideoCallback_requestKeyFrameSwigExplicitVideoCallback(swigCPtr, this);
}
public void startCapture(String camid) {
if (getClass() == VideoCallback.class) JamiServiceJNI.VideoCallback_startCapture(swigCPtr, this, camid); else JamiServiceJNI.VideoCallback_startCaptureSwigExplicitVideoCallback(swigCPtr, this, camid);
}
public void stopCapture() {
if (getClass() == VideoCallback.class) JamiServiceJNI.VideoCallback_stopCapture(swigCPtr, this); else JamiServiceJNI.VideoCallback_stopCaptureSwigExplicitVideoCallback(swigCPtr, this);
}
public void decodingStarted(String id, String shm_path, int w, int h, boolean is_mixer) {
if (getClass() == VideoCallback.class) JamiServiceJNI.VideoCallback_decodingStarted(swigCPtr, this, id, shm_path, w, h, is_mixer); else JamiServiceJNI.VideoCallback_decodingStartedSwigExplicitVideoCallback(swigCPtr, this, id, shm_path, w, h, is_mixer);
}
public void decodingStopped(String id, String shm_path, boolean is_mixer) {
if (getClass() == VideoCallback.class) JamiServiceJNI.VideoCallback_decodingStopped(swigCPtr, this, id, shm_path, is_mixer); else JamiServiceJNI.VideoCallback_decodingStoppedSwigExplicitVideoCallback(swigCPtr, this, id, shm_path, is_mixer);
}
public VideoCallback() {
this(JamiServiceJNI.new_VideoCallback(), true);
JamiServiceJNI.VideoCallback_director_connect(this, swigCPtr, true, true);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment