ursus
06/13/2018, 9:13 PMpublic Call(Account acc, int call_id) {
this(pjsua2JNI.new_Call__SWIG_0(Account.getCPtr(acc), acc, call_id), true);
//
}
public Call(Account acc) {
this(pjsua2JNI.new_Call__SWIG_1(Account.getCPtr(acc), acc), true);
//
}
although it seems like second one is just a overload of and hiding call_id
its not, it calls different swig enum thing
Ferko Mrkvicka [10:50 PM]
granted I can do
class SipCall : Call {
constructor(
account: SipAccount,
sipManager: SipManager,
callStatusManager: CallStateManager,
) : super(account)
constructor(
account: SipAccount,
sipManager: SipManager,
callStatusManager: CallStateManager,
callId: Int
) : super(account, callId)
however that disallows me to make private val sipManager and callStatusManager