//------------------------------------------------------------------------------
|
// <auto-generated>
|
// This code was generated by a tool.
|
//
|
// Changes to this file may cause incorrect behavior and will be lost if
|
// the code is regenerated.
|
// </auto-generated>
|
//------------------------------------------------------------------------------
|
|
#nullable restore
|
using System;
|
using System.Collections.Generic;
|
using Android.Runtime;
|
using Java.Interop;
|
|
namespace Com.Hdl.Hdllinphonesdk {
|
|
// Metadata.xml XPath class reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']"
|
[global::Android.Runtime.Register ("com/hdl/hdllinphonesdk/HDLLinphoneKit", DoNotGenerateAcw=true)]
|
public partial class HDLLinphoneKit : global::Java.Lang.Object {
|
// Metadata.xml XPath field reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/field[@name='HDLLinphoneKitNAME']"
|
[Register ("HDLLinphoneKitNAME")]
|
public const string HDLLinphoneKitNAME = (string) "HDLLinphoneKit";
|
|
// Metadata.xml XPath field reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/field[@name='INTER_PHONE_TYPE_EZVIZ']"
|
[Register ("INTER_PHONE_TYPE_EZVIZ")]
|
public const string InterPhoneTypeEzviz = (string) "EZVIZ";
|
|
// Metadata.xml XPath field reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/field[@name='INTER_PHONE_TYPE_FLVI']"
|
[Register ("INTER_PHONE_TYPE_FLVI")]
|
public const string InterPhoneTypeFlvi = (string) "FLVI";
|
|
// Metadata.xml XPath field reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/field[@name='INTER_PHONE_TYPE_FREEVIEW']"
|
[Register ("INTER_PHONE_TYPE_FREEVIEW")]
|
public const string InterPhoneTypeFreeview = (string) "FREEVIEW";
|
|
// Metadata.xml XPath field reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/field[@name='INTER_PHONE_TYPE_HDL']"
|
[Register ("INTER_PHONE_TYPE_HDL")]
|
public const string InterPhoneTypeHdl = (string) "HDL";
|
|
// Metadata.xml XPath field reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/field[@name='INTER_PHONE_TYPE_IMOUVISIAL']"
|
[Register ("INTER_PHONE_TYPE_IMOUVISIAL")]
|
public const string InterPhoneTypeImouvisial = (string) "IMOUVISIAL";
|
|
// Metadata.xml XPath field reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/field[@name='KEY_SIP_ACCOUNT']"
|
[Register ("KEY_SIP_ACCOUNT")]
|
public const string KeySipAccount = (string) "lpSipAccount";
|
|
// Metadata.xml XPath field reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/field[@name='KEY_TITLE_NAME']"
|
[Register ("KEY_TITLE_NAME")]
|
public const string KeyTitleName = (string) "lpTitleName";
|
|
static readonly JniPeerMembers _members = new XAPeerMembers ("com/hdl/hdllinphonesdk/HDLLinphoneKit", typeof (HDLLinphoneKit));
|
|
internal static IntPtr class_ref {
|
get { return _members.JniPeerType.PeerReference.Handle; }
|
}
|
|
[global::System.Diagnostics.DebuggerBrowsable (global::System.Diagnostics.DebuggerBrowsableState.Never)]
|
[global::System.ComponentModel.EditorBrowsable (global::System.ComponentModel.EditorBrowsableState.Never)]
|
public override global::Java.Interop.JniPeerMembers JniPeerMembers {
|
get { return _members; }
|
}
|
|
[global::System.Diagnostics.DebuggerBrowsable (global::System.Diagnostics.DebuggerBrowsableState.Never)]
|
[global::System.ComponentModel.EditorBrowsable (global::System.ComponentModel.EditorBrowsableState.Never)]
|
protected override IntPtr ThresholdClass {
|
get { return _members.JniPeerType.PeerReference.Handle; }
|
}
|
|
[global::System.Diagnostics.DebuggerBrowsable (global::System.Diagnostics.DebuggerBrowsableState.Never)]
|
[global::System.ComponentModel.EditorBrowsable (global::System.ComponentModel.EditorBrowsableState.Never)]
|
protected override global::System.Type ThresholdType {
|
get { return _members.ManagedPeerType; }
|
}
|
|
protected HDLLinphoneKit (IntPtr javaReference, JniHandleOwnership transfer) : base (javaReference, transfer)
|
{
|
}
|
|
static Delegate cb_isAutoJumpCallView;
|
#pragma warning disable 0169
|
static Delegate GetIsAutoJumpCallViewHandler ()
|
{
|
if (cb_isAutoJumpCallView == null)
|
cb_isAutoJumpCallView = JNINativeWrapper.CreateDelegate (new _JniMarshal_PP_Z (n_IsAutoJumpCallView));
|
return cb_isAutoJumpCallView;
|
}
|
|
static bool n_IsAutoJumpCallView (IntPtr jnienv, IntPtr native__this)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
return __this.AutoJumpCallView;
|
}
|
#pragma warning restore 0169
|
|
static Delegate cb_setAutoJumpCallView_Z;
|
#pragma warning disable 0169
|
static Delegate GetSetAutoJumpCallView_ZHandler ()
|
{
|
if (cb_setAutoJumpCallView_Z == null)
|
cb_setAutoJumpCallView_Z = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPZ_V (n_SetAutoJumpCallView_Z));
|
return cb_setAutoJumpCallView_Z;
|
}
|
|
static void n_SetAutoJumpCallView_Z (IntPtr jnienv, IntPtr native__this, bool autoJumpCallView)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
__this.AutoJumpCallView = autoJumpCallView;
|
}
|
#pragma warning restore 0169
|
|
public virtual unsafe bool AutoJumpCallView {
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='isAutoJumpCallView' and count(parameter)=0]"
|
[Register ("isAutoJumpCallView", "()Z", "GetIsAutoJumpCallViewHandler")]
|
get {
|
const string __id = "isAutoJumpCallView.()Z";
|
try {
|
var __rm = _members.InstanceMethods.InvokeVirtualBooleanMethod (__id, this, null);
|
return __rm;
|
} finally {
|
}
|
}
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='setAutoJumpCallView' and count(parameter)=1 and parameter[1][@type='boolean']]"
|
[Register ("setAutoJumpCallView", "(Z)V", "GetSetAutoJumpCallView_ZHandler")]
|
set {
|
const string __id = "setAutoJumpCallView.(Z)V";
|
try {
|
JniArgumentValue* __args = stackalloc JniArgumentValue [1];
|
__args [0] = new JniArgumentValue (value);
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args);
|
} finally {
|
}
|
}
|
}
|
|
public static unsafe global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit Instance {
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='getInstance' and count(parameter)=0]"
|
[Register ("getInstance", "()Lcom/hdl/hdllinphonesdk/HDLLinphoneKit;", "")]
|
get {
|
const string __id = "getInstance.()Lcom/hdl/hdllinphonesdk/HDLLinphoneKit;";
|
try {
|
var __rm = _members.StaticMethods.InvokeObjectMethod (__id, null);
|
return global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (__rm.Handle, JniHandleOwnership.TransferLocalRef);
|
} finally {
|
}
|
}
|
}
|
|
static Delegate cb_getIntercomeType;
|
#pragma warning disable 0169
|
static Delegate GetGetIntercomeTypeHandler ()
|
{
|
if (cb_getIntercomeType == null)
|
cb_getIntercomeType = JNINativeWrapper.CreateDelegate (new _JniMarshal_PP_L (n_GetIntercomeType));
|
return cb_getIntercomeType;
|
}
|
|
static IntPtr n_GetIntercomeType (IntPtr jnienv, IntPtr native__this)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
return JNIEnv.NewString (__this.IntercomeType);
|
}
|
#pragma warning restore 0169
|
|
public virtual unsafe string IntercomeType {
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='getIntercomeType' and count(parameter)=0]"
|
[Register ("getIntercomeType", "()Ljava/lang/String;", "GetGetIntercomeTypeHandler")]
|
get {
|
const string __id = "getIntercomeType.()Ljava/lang/String;";
|
try {
|
var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod (__id, this, null);
|
return JNIEnv.GetString (__rm.Handle, JniHandleOwnership.TransferLocalRef);
|
} finally {
|
}
|
}
|
}
|
|
static Delegate cb_isIncomingReceivedCallState;
|
#pragma warning disable 0169
|
static Delegate GetIsIncomingReceivedCallStateHandler ()
|
{
|
if (cb_isIncomingReceivedCallState == null)
|
cb_isIncomingReceivedCallState = JNINativeWrapper.CreateDelegate (new _JniMarshal_PP_Z (n_IsIncomingReceivedCallState));
|
return cb_isIncomingReceivedCallState;
|
}
|
|
static bool n_IsIncomingReceivedCallState (IntPtr jnienv, IntPtr native__this)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
return __this.IsIncomingReceivedCallState;
|
}
|
#pragma warning restore 0169
|
|
public virtual unsafe bool IsIncomingReceivedCallState {
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='isIncomingReceivedCallState' and count(parameter)=0]"
|
[Register ("isIncomingReceivedCallState", "()Z", "GetIsIncomingReceivedCallStateHandler")]
|
get {
|
const string __id = "isIncomingReceivedCallState.()Z";
|
try {
|
var __rm = _members.InstanceMethods.InvokeVirtualBooleanMethod (__id, this, null);
|
return __rm;
|
} finally {
|
}
|
}
|
}
|
|
static Delegate cb_getOnHDLLinphoneCallListener;
|
#pragma warning disable 0169
|
static Delegate GetGetOnHDLLinphoneCallListenerHandler ()
|
{
|
if (cb_getOnHDLLinphoneCallListener == null)
|
cb_getOnHDLLinphoneCallListener = JNINativeWrapper.CreateDelegate (new _JniMarshal_PP_L (n_GetOnHDLLinphoneCallListener));
|
return cb_getOnHDLLinphoneCallListener;
|
}
|
|
static IntPtr n_GetOnHDLLinphoneCallListener (IntPtr jnienv, IntPtr native__this)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
return JNIEnv.ToLocalJniHandle (__this.OnHDLLinphoneCallListener);
|
}
|
#pragma warning restore 0169
|
|
static Delegate cb_setOnHDLLinphoneCallListener_Lcom_hdl_hdllinphonesdk_callback_OnHDLLinphoneCallListener_;
|
#pragma warning disable 0169
|
static Delegate GetSetOnHDLLinphoneCallListener_Lcom_hdl_hdllinphonesdk_callback_OnHDLLinphoneCallListener_Handler ()
|
{
|
if (cb_setOnHDLLinphoneCallListener_Lcom_hdl_hdllinphonesdk_callback_OnHDLLinphoneCallListener_ == null)
|
cb_setOnHDLLinphoneCallListener_Lcom_hdl_hdllinphonesdk_callback_OnHDLLinphoneCallListener_ = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPL_V (n_SetOnHDLLinphoneCallListener_Lcom_hdl_hdllinphonesdk_callback_OnHDLLinphoneCallListener_));
|
return cb_setOnHDLLinphoneCallListener_Lcom_hdl_hdllinphonesdk_callback_OnHDLLinphoneCallListener_;
|
}
|
|
static void n_SetOnHDLLinphoneCallListener_Lcom_hdl_hdllinphonesdk_callback_OnHDLLinphoneCallListener_ (IntPtr jnienv, IntPtr native__this, IntPtr native_onHDLLinphoneCallListener)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var onHDLLinphoneCallListener = (global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener)global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener> (native_onHDLLinphoneCallListener, JniHandleOwnership.DoNotTransfer);
|
__this.OnHDLLinphoneCallListener = onHDLLinphoneCallListener;
|
}
|
#pragma warning restore 0169
|
|
public virtual unsafe global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener OnHDLLinphoneCallListener {
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='getOnHDLLinphoneCallListener' and count(parameter)=0]"
|
[Register ("getOnHDLLinphoneCallListener", "()Lcom/hdl/hdllinphonesdk/callback/OnHDLLinphoneCallListener;", "GetGetOnHDLLinphoneCallListenerHandler")]
|
get {
|
const string __id = "getOnHDLLinphoneCallListener.()Lcom/hdl/hdllinphonesdk/callback/OnHDLLinphoneCallListener;";
|
try {
|
var __rm = _members.InstanceMethods.InvokeVirtualObjectMethod (__id, this, null);
|
return global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener> (__rm.Handle, JniHandleOwnership.TransferLocalRef);
|
} finally {
|
}
|
}
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='setOnHDLLinphoneCallListener' and count(parameter)=1 and parameter[1][@type='com.hdl.hdllinphonesdk.callback.OnHDLLinphoneCallListener']]"
|
[Register ("setOnHDLLinphoneCallListener", "(Lcom/hdl/hdllinphonesdk/callback/OnHDLLinphoneCallListener;)V", "GetSetOnHDLLinphoneCallListener_Lcom_hdl_hdllinphonesdk_callback_OnHDLLinphoneCallListener_Handler")]
|
set {
|
const string __id = "setOnHDLLinphoneCallListener.(Lcom/hdl/hdllinphonesdk/callback/OnHDLLinphoneCallListener;)V";
|
try {
|
JniArgumentValue* __args = stackalloc JniArgumentValue [1];
|
__args [0] = new JniArgumentValue ((value == null) ? IntPtr.Zero : ((global::Java.Lang.Object) value).Handle);
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args);
|
} finally {
|
global::System.GC.KeepAlive (value);
|
}
|
}
|
}
|
|
static Delegate cb_acceptCall;
|
#pragma warning disable 0169
|
static Delegate GetAcceptCallHandler ()
|
{
|
if (cb_acceptCall == null)
|
cb_acceptCall = JNINativeWrapper.CreateDelegate (new _JniMarshal_PP_V (n_AcceptCall));
|
return cb_acceptCall;
|
}
|
|
static void n_AcceptCall (IntPtr jnienv, IntPtr native__this)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
__this.AcceptCall ();
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='acceptCall' and count(parameter)=0]"
|
[Register ("acceptCall", "()V", "GetAcceptCallHandler")]
|
public virtual unsafe void AcceptCall ()
|
{
|
const string __id = "acceptCall.()V";
|
try {
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, null);
|
} finally {
|
}
|
}
|
|
static Delegate cb_acceptCallWithVideo_Z;
|
#pragma warning disable 0169
|
static Delegate GetAcceptCallWithVideo_ZHandler ()
|
{
|
if (cb_acceptCallWithVideo_Z == null)
|
cb_acceptCallWithVideo_Z = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPZ_V (n_AcceptCallWithVideo_Z));
|
return cb_acceptCallWithVideo_Z;
|
}
|
|
static void n_AcceptCallWithVideo_Z (IntPtr jnienv, IntPtr native__this, bool enableVideo)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
__this.AcceptCallWithVideo (enableVideo);
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='acceptCallWithVideo' and count(parameter)=1 and parameter[1][@type='boolean']]"
|
[Register ("acceptCallWithVideo", "(Z)V", "GetAcceptCallWithVideo_ZHandler")]
|
public virtual unsafe void AcceptCallWithVideo (bool enableVideo)
|
{
|
const string __id = "acceptCallWithVideo.(Z)V";
|
try {
|
JniArgumentValue* __args = stackalloc JniArgumentValue [1];
|
__args [0] = new JniArgumentValue (enableVideo);
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args);
|
} finally {
|
}
|
}
|
|
static Delegate cb_addCallback_Lcom_hdl_hdllinphonesdk_core_callback_RegistrationCallback_Lcom_hdl_hdllinphonesdk_core_callback_PhoneCallback_;
|
#pragma warning disable 0169
|
static Delegate GetAddCallback_Lcom_hdl_hdllinphonesdk_core_callback_RegistrationCallback_Lcom_hdl_hdllinphonesdk_core_callback_PhoneCallback_Handler ()
|
{
|
if (cb_addCallback_Lcom_hdl_hdllinphonesdk_core_callback_RegistrationCallback_Lcom_hdl_hdllinphonesdk_core_callback_PhoneCallback_ == null)
|
cb_addCallback_Lcom_hdl_hdllinphonesdk_core_callback_RegistrationCallback_Lcom_hdl_hdllinphonesdk_core_callback_PhoneCallback_ = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPLL_V (n_AddCallback_Lcom_hdl_hdllinphonesdk_core_callback_RegistrationCallback_Lcom_hdl_hdllinphonesdk_core_callback_PhoneCallback_));
|
return cb_addCallback_Lcom_hdl_hdllinphonesdk_core_callback_RegistrationCallback_Lcom_hdl_hdllinphonesdk_core_callback_PhoneCallback_;
|
}
|
|
static void n_AddCallback_Lcom_hdl_hdllinphonesdk_core_callback_RegistrationCallback_Lcom_hdl_hdllinphonesdk_core_callback_PhoneCallback_ (IntPtr jnienv, IntPtr native__this, IntPtr native_registrationCallback, IntPtr native_phoneCallback)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var registrationCallback = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.Core.Callback.RegistrationCallback> (native_registrationCallback, JniHandleOwnership.DoNotTransfer);
|
var phoneCallback = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.Core.Callback.PhoneCallback> (native_phoneCallback, JniHandleOwnership.DoNotTransfer);
|
__this.AddCallback (registrationCallback, phoneCallback);
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='addCallback' and count(parameter)=2 and parameter[1][@type='com.hdl.hdllinphonesdk.core.callback.RegistrationCallback'] and parameter[2][@type='com.hdl.hdllinphonesdk.core.callback.PhoneCallback']]"
|
[Register ("addCallback", "(Lcom/hdl/hdllinphonesdk/core/callback/RegistrationCallback;Lcom/hdl/hdllinphonesdk/core/callback/PhoneCallback;)V", "GetAddCallback_Lcom_hdl_hdllinphonesdk_core_callback_RegistrationCallback_Lcom_hdl_hdllinphonesdk_core_callback_PhoneCallback_Handler")]
|
public virtual unsafe void AddCallback (global::Com.Hdl.Hdllinphonesdk.Core.Callback.RegistrationCallback registrationCallback, global::Com.Hdl.Hdllinphonesdk.Core.Callback.PhoneCallback phoneCallback)
|
{
|
const string __id = "addCallback.(Lcom/hdl/hdllinphonesdk/core/callback/RegistrationCallback;Lcom/hdl/hdllinphonesdk/core/callback/PhoneCallback;)V";
|
try {
|
JniArgumentValue* __args = stackalloc JniArgumentValue [2];
|
__args [0] = new JniArgumentValue ((registrationCallback == null) ? IntPtr.Zero : ((global::Java.Lang.Object) registrationCallback).Handle);
|
__args [1] = new JniArgumentValue ((phoneCallback == null) ? IntPtr.Zero : ((global::Java.Lang.Object) phoneCallback).Handle);
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args);
|
} finally {
|
global::System.GC.KeepAlive (registrationCallback);
|
global::System.GC.KeepAlive (phoneCallback);
|
}
|
}
|
|
static Delegate cb_callTo_Ljava_lang_String_Z;
|
#pragma warning disable 0169
|
static Delegate GetCallTo_Ljava_lang_String_ZHandler ()
|
{
|
if (cb_callTo_Ljava_lang_String_Z == null)
|
cb_callTo_Ljava_lang_String_Z = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPLZ_V (n_CallTo_Ljava_lang_String_Z));
|
return cb_callTo_Ljava_lang_String_Z;
|
}
|
|
static void n_CallTo_Ljava_lang_String_Z (IntPtr jnienv, IntPtr native__this, IntPtr native_num, bool isVideoCall)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var num = JNIEnv.GetString (native_num, JniHandleOwnership.DoNotTransfer);
|
__this.CallTo (num, isVideoCall);
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='callTo' and count(parameter)=2 and parameter[1][@type='java.lang.String'] and parameter[2][@type='boolean']]"
|
[Register ("callTo", "(Ljava/lang/String;Z)V", "GetCallTo_Ljava_lang_String_ZHandler")]
|
public virtual unsafe void CallTo (string num, bool isVideoCall)
|
{
|
const string __id = "callTo.(Ljava/lang/String;Z)V";
|
IntPtr native_num = JNIEnv.NewString ((string)num);
|
try {
|
JniArgumentValue* __args = stackalloc JniArgumentValue [2];
|
__args [0] = new JniArgumentValue (native_num);
|
__args [1] = new JniArgumentValue (isVideoCall);
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args);
|
} finally {
|
JNIEnv.DeleteLocalRef (native_num);
|
}
|
}
|
|
static Delegate cb_clearProxyConfig;
|
#pragma warning disable 0169
|
static Delegate GetClearProxyConfigHandler ()
|
{
|
if (cb_clearProxyConfig == null)
|
cb_clearProxyConfig = JNINativeWrapper.CreateDelegate (new _JniMarshal_PP_V (n_ClearProxyConfig));
|
return cb_clearProxyConfig;
|
}
|
|
static void n_ClearProxyConfig (IntPtr jnienv, IntPtr native__this)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
__this.ClearProxyConfig ();
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='clearProxyConfig' and count(parameter)=0]"
|
[Register ("clearProxyConfig", "()V", "GetClearProxyConfigHandler")]
|
public virtual unsafe void ClearProxyConfig ()
|
{
|
const string __id = "clearProxyConfig.()V";
|
try {
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, null);
|
} finally {
|
}
|
}
|
|
static Delegate cb_freeViewRegisterUserAuth_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_;
|
#pragma warning disable 0169
|
static Delegate GetFreeViewRegisterUserAuth_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler ()
|
{
|
if (cb_freeViewRegisterUserAuth_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_ == null)
|
cb_freeViewRegisterUserAuth_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_ = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPLLL_V (n_FreeViewRegisterUserAuth_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_));
|
return cb_freeViewRegisterUserAuth_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_;
|
}
|
|
static void n_FreeViewRegisterUserAuth_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_ (IntPtr jnienv, IntPtr native__this, IntPtr native_userName, IntPtr native_password, IntPtr native_domain)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var userName = JNIEnv.GetString (native_userName, JniHandleOwnership.DoNotTransfer);
|
var password = JNIEnv.GetString (native_password, JniHandleOwnership.DoNotTransfer);
|
var domain = JNIEnv.GetString (native_domain, JniHandleOwnership.DoNotTransfer);
|
__this.FreeViewRegisterUserAuth (userName, password, domain);
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='freeViewRegisterUserAuth' and count(parameter)=3 and parameter[1][@type='java.lang.String'] and parameter[2][@type='java.lang.String'] and parameter[3][@type='java.lang.String']]"
|
[Register ("freeViewRegisterUserAuth", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetFreeViewRegisterUserAuth_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler")]
|
public virtual unsafe void FreeViewRegisterUserAuth (string userName, string password, string domain)
|
{
|
const string __id = "freeViewRegisterUserAuth.(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V";
|
IntPtr native_userName = JNIEnv.NewString ((string)userName);
|
IntPtr native_password = JNIEnv.NewString ((string)password);
|
IntPtr native_domain = JNIEnv.NewString ((string)domain);
|
try {
|
JniArgumentValue* __args = stackalloc JniArgumentValue [3];
|
__args [0] = new JniArgumentValue (native_userName);
|
__args [1] = new JniArgumentValue (native_password);
|
__args [2] = new JniArgumentValue (native_domain);
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args);
|
} finally {
|
JNIEnv.DeleteLocalRef (native_userName);
|
JNIEnv.DeleteLocalRef (native_password);
|
JNIEnv.DeleteLocalRef (native_domain);
|
}
|
}
|
|
static Delegate cb_gotoHDLLinphoneIntercomActivity;
|
#pragma warning disable 0169
|
static Delegate GetGotoHDLLinphoneIntercomActivityHandler ()
|
{
|
if (cb_gotoHDLLinphoneIntercomActivity == null)
|
cb_gotoHDLLinphoneIntercomActivity = JNINativeWrapper.CreateDelegate (new _JniMarshal_PP_V (n_GotoHDLLinphoneIntercomActivity));
|
return cb_gotoHDLLinphoneIntercomActivity;
|
}
|
|
static void n_GotoHDLLinphoneIntercomActivity (IntPtr jnienv, IntPtr native__this)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
__this.GotoHDLLinphoneIntercomActivity ();
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='gotoHDLLinphoneIntercomActivity' and count(parameter)=0]"
|
[Register ("gotoHDLLinphoneIntercomActivity", "()V", "GetGotoHDLLinphoneIntercomActivityHandler")]
|
public virtual unsafe void GotoHDLLinphoneIntercomActivity ()
|
{
|
const string __id = "gotoHDLLinphoneIntercomActivity.()V";
|
try {
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, null);
|
} finally {
|
}
|
}
|
|
static Delegate cb_hangUp;
|
#pragma warning disable 0169
|
static Delegate GetHangUpHandler ()
|
{
|
if (cb_hangUp == null)
|
cb_hangUp = JNINativeWrapper.CreateDelegate (new _JniMarshal_PP_V (n_HangUp));
|
return cb_hangUp;
|
}
|
|
static void n_HangUp (IntPtr jnienv, IntPtr native__this)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
__this.HangUp ();
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='hangUp' and count(parameter)=0]"
|
[Register ("hangUp", "()V", "GetHangUpHandler")]
|
public virtual unsafe void HangUp ()
|
{
|
const string __id = "hangUp.()V";
|
try {
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, null);
|
} finally {
|
}
|
}
|
|
static Delegate cb_initLinphone_Landroid_content_Context_;
|
#pragma warning disable 0169
|
static Delegate GetInitLinphone_Landroid_content_Context_Handler ()
|
{
|
if (cb_initLinphone_Landroid_content_Context_ == null)
|
cb_initLinphone_Landroid_content_Context_ = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPL_V (n_InitLinphone_Landroid_content_Context_));
|
return cb_initLinphone_Landroid_content_Context_;
|
}
|
|
static void n_InitLinphone_Landroid_content_Context_ (IntPtr jnienv, IntPtr native__this, IntPtr native_context)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var context = global::Java.Lang.Object.GetObject<global::Android.Content.Context> (native_context, JniHandleOwnership.DoNotTransfer);
|
__this.InitLinphone (context);
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='initLinphone' and count(parameter)=1 and parameter[1][@type='android.content.Context']]"
|
[Register ("initLinphone", "(Landroid/content/Context;)V", "GetInitLinphone_Landroid_content_Context_Handler")]
|
public virtual unsafe void InitLinphone (global::Android.Content.Context context)
|
{
|
const string __id = "initLinphone.(Landroid/content/Context;)V";
|
try {
|
JniArgumentValue* __args = stackalloc JniArgumentValue [1];
|
__args [0] = new JniArgumentValue ((context == null) ? IntPtr.Zero : ((global::Java.Lang.Object) context).Handle);
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args);
|
} finally {
|
global::System.GC.KeepAlive (context);
|
}
|
}
|
|
static Delegate cb_login_Ljava_lang_String_;
|
#pragma warning disable 0169
|
static Delegate GetLogin_Ljava_lang_String_Handler ()
|
{
|
if (cb_login_Ljava_lang_String_ == null)
|
cb_login_Ljava_lang_String_ = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPL_V (n_Login_Ljava_lang_String_));
|
return cb_login_Ljava_lang_String_;
|
}
|
|
static void n_Login_Ljava_lang_String_ (IntPtr jnienv, IntPtr native__this, IntPtr native_inter_type)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var inter_type = JNIEnv.GetString (native_inter_type, JniHandleOwnership.DoNotTransfer);
|
__this.Login (inter_type);
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='login' and count(parameter)=1 and parameter[1][@type='java.lang.String']]"
|
[Register ("login", "(Ljava/lang/String;)V", "GetLogin_Ljava_lang_String_Handler")]
|
public virtual unsafe void Login (string inter_type)
|
{
|
const string __id = "login.(Ljava/lang/String;)V";
|
IntPtr native_inter_type = JNIEnv.NewString ((string)inter_type);
|
try {
|
JniArgumentValue* __args = stackalloc JniArgumentValue [1];
|
__args [0] = new JniArgumentValue (native_inter_type);
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args);
|
} finally {
|
JNIEnv.DeleteLocalRef (native_inter_type);
|
}
|
}
|
|
static Delegate cb_logout;
|
#pragma warning disable 0169
|
static Delegate GetLogoutHandler ()
|
{
|
if (cb_logout == null)
|
cb_logout = JNINativeWrapper.CreateDelegate (new _JniMarshal_PP_V (n_Logout));
|
return cb_logout;
|
}
|
|
static void n_Logout (IntPtr jnienv, IntPtr native__this)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
__this.Logout ();
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='logout' and count(parameter)=0]"
|
[Register ("logout", "()V", "GetLogoutHandler")]
|
public virtual unsafe void Logout ()
|
{
|
const string __id = "logout.()V";
|
try {
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, null);
|
} finally {
|
}
|
}
|
|
static Delegate cb_onDestroy;
|
#pragma warning disable 0169
|
static Delegate GetOnDestroyHandler ()
|
{
|
if (cb_onDestroy == null)
|
cb_onDestroy = JNINativeWrapper.CreateDelegate (new _JniMarshal_PP_V (n_OnDestroy));
|
return cb_onDestroy;
|
}
|
|
static void n_OnDestroy (IntPtr jnienv, IntPtr native__this)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
__this.OnDestroy ();
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='onDestroy' and count(parameter)=0]"
|
[Register ("onDestroy", "()V", "GetOnDestroyHandler")]
|
public virtual unsafe void OnDestroy ()
|
{
|
const string __id = "onDestroy.()V";
|
try {
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, null);
|
} finally {
|
}
|
}
|
|
static Delegate cb_onOpenError_Ljava_lang_String_;
|
#pragma warning disable 0169
|
static Delegate GetOnOpenError_Ljava_lang_String_Handler ()
|
{
|
if (cb_onOpenError_Ljava_lang_String_ == null)
|
cb_onOpenError_Ljava_lang_String_ = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPL_V (n_OnOpenError_Ljava_lang_String_));
|
return cb_onOpenError_Ljava_lang_String_;
|
}
|
|
static void n_OnOpenError_Ljava_lang_String_ (IntPtr jnienv, IntPtr native__this, IntPtr native_mes)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var mes = JNIEnv.GetString (native_mes, JniHandleOwnership.DoNotTransfer);
|
__this.OnOpenError (mes);
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='onOpenError' and count(parameter)=1 and parameter[1][@type='java.lang.String']]"
|
[Register ("onOpenError", "(Ljava/lang/String;)V", "GetOnOpenError_Ljava_lang_String_Handler")]
|
public virtual unsafe void OnOpenError (string mes)
|
{
|
const string __id = "onOpenError.(Ljava/lang/String;)V";
|
IntPtr native_mes = JNIEnv.NewString ((string)mes);
|
try {
|
JniArgumentValue* __args = stackalloc JniArgumentValue [1];
|
__args [0] = new JniArgumentValue (native_mes);
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args);
|
} finally {
|
JNIEnv.DeleteLocalRef (native_mes);
|
}
|
}
|
|
static Delegate cb_onOpenSuccess;
|
#pragma warning disable 0169
|
static Delegate GetOnOpenSuccessHandler ()
|
{
|
if (cb_onOpenSuccess == null)
|
cb_onOpenSuccess = JNINativeWrapper.CreateDelegate (new _JniMarshal_PP_V (n_OnOpenSuccess));
|
return cb_onOpenSuccess;
|
}
|
|
static void n_OnOpenSuccess (IntPtr jnienv, IntPtr native__this)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
__this.OnOpenSuccess ();
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='onOpenSuccess' and count(parameter)=0]"
|
[Register ("onOpenSuccess", "()V", "GetOnOpenSuccessHandler")]
|
public virtual unsafe void OnOpenSuccess ()
|
{
|
const string __id = "onOpenSuccess.()V";
|
try {
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, null);
|
} finally {
|
}
|
}
|
|
static Delegate cb_onPause;
|
#pragma warning disable 0169
|
static Delegate GetOnPauseHandler ()
|
{
|
if (cb_onPause == null)
|
cb_onPause = JNINativeWrapper.CreateDelegate (new _JniMarshal_PP_V (n_OnPause));
|
return cb_onPause;
|
}
|
|
static void n_OnPause (IntPtr jnienv, IntPtr native__this)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
__this.OnPause ();
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='onPause' and count(parameter)=0]"
|
[Register ("onPause", "()V", "GetOnPauseHandler")]
|
public virtual unsafe void OnPause ()
|
{
|
const string __id = "onPause.()V";
|
try {
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, null);
|
} finally {
|
}
|
}
|
|
static Delegate cb_onResume;
|
#pragma warning disable 0169
|
static Delegate GetOnResumeHandler ()
|
{
|
if (cb_onResume == null)
|
cb_onResume = JNINativeWrapper.CreateDelegate (new _JniMarshal_PP_V (n_OnResume));
|
return cb_onResume;
|
}
|
|
static void n_OnResume (IntPtr jnienv, IntPtr native__this)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
__this.OnResume ();
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='onResume' and count(parameter)=0]"
|
[Register ("onResume", "()V", "GetOnResumeHandler")]
|
public virtual unsafe void OnResume ()
|
{
|
const string __id = "onResume.()V";
|
try {
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, null);
|
} finally {
|
}
|
}
|
|
static Delegate cb_registerUserAuth_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_;
|
#pragma warning disable 0169
|
static Delegate GetRegisterUserAuth_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler ()
|
{
|
if (cb_registerUserAuth_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_ == null)
|
cb_registerUserAuth_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_ = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPLLL_V (n_RegisterUserAuth_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_));
|
return cb_registerUserAuth_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_;
|
}
|
|
static void n_RegisterUserAuth_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_ (IntPtr jnienv, IntPtr native__this, IntPtr native_name, IntPtr native_password, IntPtr native_host)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var name = JNIEnv.GetString (native_name, JniHandleOwnership.DoNotTransfer);
|
var password = JNIEnv.GetString (native_password, JniHandleOwnership.DoNotTransfer);
|
var host = JNIEnv.GetString (native_host, JniHandleOwnership.DoNotTransfer);
|
__this.RegisterUserAuth (name, password, host);
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='registerUserAuth' and count(parameter)=3 and parameter[1][@type='java.lang.String'] and parameter[2][@type='java.lang.String'] and parameter[3][@type='java.lang.String']]"
|
[Register ("registerUserAuth", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetRegisterUserAuth_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler")]
|
public virtual unsafe void RegisterUserAuth (string name, string password, string host)
|
{
|
const string __id = "registerUserAuth.(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V";
|
IntPtr native_name = JNIEnv.NewString ((string)name);
|
IntPtr native_password = JNIEnv.NewString ((string)password);
|
IntPtr native_host = JNIEnv.NewString ((string)host);
|
try {
|
JniArgumentValue* __args = stackalloc JniArgumentValue [3];
|
__args [0] = new JniArgumentValue (native_name);
|
__args [1] = new JniArgumentValue (native_password);
|
__args [2] = new JniArgumentValue (native_host);
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args);
|
} finally {
|
JNIEnv.DeleteLocalRef (native_name);
|
JNIEnv.DeleteLocalRef (native_password);
|
JNIEnv.DeleteLocalRef (native_host);
|
}
|
}
|
|
static Delegate cb_setAccountAndLogin_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_;
|
#pragma warning disable 0169
|
static Delegate GetSetAccountAndLogin_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler ()
|
{
|
if (cb_setAccountAndLogin_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_ == null)
|
cb_setAccountAndLogin_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_ = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPLLLL_V (n_SetAccountAndLogin_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_));
|
return cb_setAccountAndLogin_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_;
|
}
|
|
static void n_SetAccountAndLogin_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_ (IntPtr jnienv, IntPtr native__this, IntPtr native_username, IntPtr native_password, IntPtr native_serverIP, IntPtr native_inter_type)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var username = JNIEnv.GetString (native_username, JniHandleOwnership.DoNotTransfer);
|
var password = JNIEnv.GetString (native_password, JniHandleOwnership.DoNotTransfer);
|
var serverIP = JNIEnv.GetString (native_serverIP, JniHandleOwnership.DoNotTransfer);
|
var inter_type = JNIEnv.GetString (native_inter_type, JniHandleOwnership.DoNotTransfer);
|
__this.SetAccountAndLogin (username, password, serverIP, inter_type);
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='setAccountAndLogin' and count(parameter)=4 and parameter[1][@type='java.lang.String'] and parameter[2][@type='java.lang.String'] and parameter[3][@type='java.lang.String'] and parameter[4][@type='java.lang.String']]"
|
[Register ("setAccountAndLogin", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "GetSetAccountAndLogin_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Ljava_lang_String_Handler")]
|
public virtual unsafe void SetAccountAndLogin (string username, string password, string serverIP, string inter_type)
|
{
|
const string __id = "setAccountAndLogin.(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V";
|
IntPtr native_username = JNIEnv.NewString ((string)username);
|
IntPtr native_password = JNIEnv.NewString ((string)password);
|
IntPtr native_serverIP = JNIEnv.NewString ((string)serverIP);
|
IntPtr native_inter_type = JNIEnv.NewString ((string)inter_type);
|
try {
|
JniArgumentValue* __args = stackalloc JniArgumentValue [4];
|
__args [0] = new JniArgumentValue (native_username);
|
__args [1] = new JniArgumentValue (native_password);
|
__args [2] = new JniArgumentValue (native_serverIP);
|
__args [3] = new JniArgumentValue (native_inter_type);
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args);
|
} finally {
|
JNIEnv.DeleteLocalRef (native_username);
|
JNIEnv.DeleteLocalRef (native_password);
|
JNIEnv.DeleteLocalRef (native_serverIP);
|
JNIEnv.DeleteLocalRef (native_inter_type);
|
}
|
}
|
|
static Delegate cb_setAndroidVideoWindow_Landroid_view_TextureView_Landroid_view_TextureView_;
|
#pragma warning disable 0169
|
static Delegate GetSetAndroidVideoWindow_Landroid_view_TextureView_Landroid_view_TextureView_Handler ()
|
{
|
if (cb_setAndroidVideoWindow_Landroid_view_TextureView_Landroid_view_TextureView_ == null)
|
cb_setAndroidVideoWindow_Landroid_view_TextureView_Landroid_view_TextureView_ = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPLL_V (n_SetAndroidVideoWindow_Landroid_view_TextureView_Landroid_view_TextureView_));
|
return cb_setAndroidVideoWindow_Landroid_view_TextureView_Landroid_view_TextureView_;
|
}
|
|
static void n_SetAndroidVideoWindow_Landroid_view_TextureView_Landroid_view_TextureView_ (IntPtr jnienv, IntPtr native__this, IntPtr native_renderingView, IntPtr native_previewView)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var renderingView = global::Java.Lang.Object.GetObject<global::Android.Views.TextureView> (native_renderingView, JniHandleOwnership.DoNotTransfer);
|
var previewView = global::Java.Lang.Object.GetObject<global::Android.Views.TextureView> (native_previewView, JniHandleOwnership.DoNotTransfer);
|
__this.SetAndroidVideoWindow (renderingView, previewView);
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='setAndroidVideoWindow' and count(parameter)=2 and parameter[1][@type='android.view.TextureView'] and parameter[2][@type='android.view.TextureView']]"
|
[Register ("setAndroidVideoWindow", "(Landroid/view/TextureView;Landroid/view/TextureView;)V", "GetSetAndroidVideoWindow_Landroid_view_TextureView_Landroid_view_TextureView_Handler")]
|
public virtual unsafe void SetAndroidVideoWindow (global::Android.Views.TextureView renderingView, global::Android.Views.TextureView previewView)
|
{
|
const string __id = "setAndroidVideoWindow.(Landroid/view/TextureView;Landroid/view/TextureView;)V";
|
try {
|
JniArgumentValue* __args = stackalloc JniArgumentValue [2];
|
__args [0] = new JniArgumentValue ((renderingView == null) ? IntPtr.Zero : ((global::Java.Lang.Object) renderingView).Handle);
|
__args [1] = new JniArgumentValue ((previewView == null) ? IntPtr.Zero : ((global::Java.Lang.Object) previewView).Handle);
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args);
|
} finally {
|
global::System.GC.KeepAlive (renderingView);
|
global::System.GC.KeepAlive (previewView);
|
}
|
}
|
|
static Delegate cb_setOpenOpenDoorCallBack_Lcom_hdl_hdllinphonesdk_callback_OnLPOpenDoorCallBack_;
|
#pragma warning disable 0169
|
static Delegate GetSetOpenOpenDoorCallBack_Lcom_hdl_hdllinphonesdk_callback_OnLPOpenDoorCallBack_Handler ()
|
{
|
if (cb_setOpenOpenDoorCallBack_Lcom_hdl_hdllinphonesdk_callback_OnLPOpenDoorCallBack_ == null)
|
cb_setOpenOpenDoorCallBack_Lcom_hdl_hdllinphonesdk_callback_OnLPOpenDoorCallBack_ = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPL_V (n_SetOpenOpenDoorCallBack_Lcom_hdl_hdllinphonesdk_callback_OnLPOpenDoorCallBack_));
|
return cb_setOpenOpenDoorCallBack_Lcom_hdl_hdllinphonesdk_callback_OnLPOpenDoorCallBack_;
|
}
|
|
static void n_SetOpenOpenDoorCallBack_Lcom_hdl_hdllinphonesdk_callback_OnLPOpenDoorCallBack_ (IntPtr jnienv, IntPtr native__this, IntPtr native_openOpenDoorCallBack)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var openOpenDoorCallBack = (global::Com.Hdl.Hdllinphonesdk.Callback.IOnLPOpenDoorCallBack)global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.Callback.IOnLPOpenDoorCallBack> (native_openOpenDoorCallBack, JniHandleOwnership.DoNotTransfer);
|
__this.SetOpenOpenDoorCallBack (openOpenDoorCallBack);
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='setOpenOpenDoorCallBack' and count(parameter)=1 and parameter[1][@type='com.hdl.hdllinphonesdk.callback.OnLPOpenDoorCallBack']]"
|
[Register ("setOpenOpenDoorCallBack", "(Lcom/hdl/hdllinphonesdk/callback/OnLPOpenDoorCallBack;)V", "GetSetOpenOpenDoorCallBack_Lcom_hdl_hdllinphonesdk_callback_OnLPOpenDoorCallBack_Handler")]
|
public virtual unsafe void SetOpenOpenDoorCallBack (global::Com.Hdl.Hdllinphonesdk.Callback.IOnLPOpenDoorCallBack openOpenDoorCallBack)
|
{
|
const string __id = "setOpenOpenDoorCallBack.(Lcom/hdl/hdllinphonesdk/callback/OnLPOpenDoorCallBack;)V";
|
try {
|
JniArgumentValue* __args = stackalloc JniArgumentValue [1];
|
__args [0] = new JniArgumentValue ((openOpenDoorCallBack == null) ? IntPtr.Zero : ((global::Java.Lang.Object) openOpenDoorCallBack).Handle);
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args);
|
} finally {
|
global::System.GC.KeepAlive (openOpenDoorCallBack);
|
}
|
}
|
|
static Delegate cb_startService_Landroid_content_Context_;
|
#pragma warning disable 0169
|
static Delegate GetStartService_Landroid_content_Context_Handler ()
|
{
|
if (cb_startService_Landroid_content_Context_ == null)
|
cb_startService_Landroid_content_Context_ = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPL_V (n_StartService_Landroid_content_Context_));
|
return cb_startService_Landroid_content_Context_;
|
}
|
|
static void n_StartService_Landroid_content_Context_ (IntPtr jnienv, IntPtr native__this, IntPtr native_context)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
var context = global::Java.Lang.Object.GetObject<global::Android.Content.Context> (native_context, JniHandleOwnership.DoNotTransfer);
|
__this.StartService (context);
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='startService' and count(parameter)=1 and parameter[1][@type='android.content.Context']]"
|
[Register ("startService", "(Landroid/content/Context;)V", "GetStartService_Landroid_content_Context_Handler")]
|
public virtual unsafe void StartService (global::Android.Content.Context context)
|
{
|
const string __id = "startService.(Landroid/content/Context;)V";
|
try {
|
JniArgumentValue* __args = stackalloc JniArgumentValue [1];
|
__args [0] = new JniArgumentValue ((context == null) ? IntPtr.Zero : ((global::Java.Lang.Object) context).Handle);
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args);
|
} finally {
|
global::System.GC.KeepAlive (context);
|
}
|
}
|
|
static Delegate cb_toggleMicro_Z;
|
#pragma warning disable 0169
|
static Delegate GetToggleMicro_ZHandler ()
|
{
|
if (cb_toggleMicro_Z == null)
|
cb_toggleMicro_Z = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPZ_V (n_ToggleMicro_Z));
|
return cb_toggleMicro_Z;
|
}
|
|
static void n_ToggleMicro_Z (IntPtr jnienv, IntPtr native__this, bool isMicMuted)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
__this.ToggleMicro (isMicMuted);
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='toggleMicro' and count(parameter)=1 and parameter[1][@type='boolean']]"
|
[Register ("toggleMicro", "(Z)V", "GetToggleMicro_ZHandler")]
|
public virtual unsafe void ToggleMicro (bool isMicMuted)
|
{
|
const string __id = "toggleMicro.(Z)V";
|
try {
|
JniArgumentValue* __args = stackalloc JniArgumentValue [1];
|
__args [0] = new JniArgumentValue (isMicMuted);
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args);
|
} finally {
|
}
|
}
|
|
static Delegate cb_toggleSpeaker_Z;
|
#pragma warning disable 0169
|
static Delegate GetToggleSpeaker_ZHandler ()
|
{
|
if (cb_toggleSpeaker_Z == null)
|
cb_toggleSpeaker_Z = JNINativeWrapper.CreateDelegate (new _JniMarshal_PPZ_V (n_ToggleSpeaker_Z));
|
return cb_toggleSpeaker_Z;
|
}
|
|
static void n_ToggleSpeaker_Z (IntPtr jnienv, IntPtr native__this, bool isSpeakerEnabled)
|
{
|
var __this = global::Java.Lang.Object.GetObject<global::Com.Hdl.Hdllinphonesdk.HDLLinphoneKit> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
|
__this.ToggleSpeaker (isSpeakerEnabled);
|
}
|
#pragma warning restore 0169
|
|
// Metadata.xml XPath method reference: path="/api/package[@name='com.hdl.hdllinphonesdk']/class[@name='HDLLinphoneKit']/method[@name='toggleSpeaker' and count(parameter)=1 and parameter[1][@type='boolean']]"
|
[Register ("toggleSpeaker", "(Z)V", "GetToggleSpeaker_ZHandler")]
|
public virtual unsafe void ToggleSpeaker (bool isSpeakerEnabled)
|
{
|
const string __id = "toggleSpeaker.(Z)V";
|
try {
|
JniArgumentValue* __args = stackalloc JniArgumentValue [1];
|
__args [0] = new JniArgumentValue (isSpeakerEnabled);
|
_members.InstanceMethods.InvokeVirtualVoidMethod (__id, this, __args);
|
} finally {
|
}
|
}
|
|
#region "Event implementation for Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener"
|
|
public event EventHandler AnswerAction {
|
add {
|
global::Java.Interop.EventHelper.AddEventHandler<global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener, global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor>(
|
ref weak_implementor___SetOnHDLLinphoneCallListener,
|
__CreateIOnHDLLinphoneCallListenerImplementor,
|
__v => OnHDLLinphoneCallListener = __v,
|
__h => __h.OnAnswerActionHandler += value);
|
}
|
remove {
|
global::Java.Interop.EventHelper.RemoveEventHandler<global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener, global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor>(
|
ref weak_implementor___SetOnHDLLinphoneCallListener,
|
global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor.__IsEmpty,
|
__v => OnHDLLinphoneCallListener = null,
|
__h => __h.OnAnswerActionHandler -= value);
|
}
|
}
|
|
public event EventHandler<global::Com.Hdl.Hdllinphonesdk.Callback.HangUpActionEventArgs> HangUpAction {
|
add {
|
global::Java.Interop.EventHelper.AddEventHandler<global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener, global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor>(
|
ref weak_implementor___SetOnHDLLinphoneCallListener,
|
__CreateIOnHDLLinphoneCallListenerImplementor,
|
__v => OnHDLLinphoneCallListener = __v,
|
__h => __h.OnHangUpActionHandler += value);
|
}
|
remove {
|
global::Java.Interop.EventHelper.RemoveEventHandler<global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener, global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor>(
|
ref weak_implementor___SetOnHDLLinphoneCallListener,
|
global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor.__IsEmpty,
|
__v => OnHDLLinphoneCallListener = null,
|
__h => __h.OnHangUpActionHandler -= value);
|
}
|
}
|
|
public event EventHandler<global::Com.Hdl.Hdllinphonesdk.Callback.IncomingCallEventArgs> IncomingCall {
|
add {
|
global::Java.Interop.EventHelper.AddEventHandler<global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener, global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor>(
|
ref weak_implementor___SetOnHDLLinphoneCallListener,
|
__CreateIOnHDLLinphoneCallListenerImplementor,
|
__v => OnHDLLinphoneCallListener = __v,
|
__h => __h.OnIncomingCallHandler += value);
|
}
|
remove {
|
global::Java.Interop.EventHelper.RemoveEventHandler<global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener, global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor>(
|
ref weak_implementor___SetOnHDLLinphoneCallListener,
|
global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor.__IsEmpty,
|
__v => OnHDLLinphoneCallListener = null,
|
__h => __h.OnIncomingCallHandler -= value);
|
}
|
}
|
|
public event EventHandler RejectCallAction {
|
add {
|
global::Java.Interop.EventHelper.AddEventHandler<global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener, global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor>(
|
ref weak_implementor___SetOnHDLLinphoneCallListener,
|
__CreateIOnHDLLinphoneCallListenerImplementor,
|
__v => OnHDLLinphoneCallListener = __v,
|
__h => __h.OnRejectCallActionHandler += value);
|
}
|
remove {
|
global::Java.Interop.EventHelper.RemoveEventHandler<global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener, global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor>(
|
ref weak_implementor___SetOnHDLLinphoneCallListener,
|
global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor.__IsEmpty,
|
__v => OnHDLLinphoneCallListener = null,
|
__h => __h.OnRejectCallActionHandler -= value);
|
}
|
}
|
|
public event EventHandler<global::Com.Hdl.Hdllinphonesdk.Callback.ScreenshotSuccessfulActionEventArgs> ScreenshotSuccessfulAction {
|
add {
|
global::Java.Interop.EventHelper.AddEventHandler<global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener, global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor>(
|
ref weak_implementor___SetOnHDLLinphoneCallListener,
|
__CreateIOnHDLLinphoneCallListenerImplementor,
|
__v => OnHDLLinphoneCallListener = __v,
|
__h => __h.OnScreenshotSuccessfulActionHandler += value);
|
}
|
remove {
|
global::Java.Interop.EventHelper.RemoveEventHandler<global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener, global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor>(
|
ref weak_implementor___SetOnHDLLinphoneCallListener,
|
global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor.__IsEmpty,
|
__v => OnHDLLinphoneCallListener = null,
|
__h => __h.OnScreenshotSuccessfulActionHandler -= value);
|
}
|
}
|
|
public event EventHandler UnlockAction {
|
add {
|
global::Java.Interop.EventHelper.AddEventHandler<global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener, global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor>(
|
ref weak_implementor___SetOnHDLLinphoneCallListener,
|
__CreateIOnHDLLinphoneCallListenerImplementor,
|
__v => OnHDLLinphoneCallListener = __v,
|
__h => __h.OnUnlockActionHandler += value);
|
}
|
remove {
|
global::Java.Interop.EventHelper.RemoveEventHandler<global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListener, global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor>(
|
ref weak_implementor___SetOnHDLLinphoneCallListener,
|
global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor.__IsEmpty,
|
__v => OnHDLLinphoneCallListener = null,
|
__h => __h.OnUnlockActionHandler -= value);
|
}
|
}
|
|
WeakReference weak_implementor___SetOnHDLLinphoneCallListener;
|
|
global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor __CreateIOnHDLLinphoneCallListenerImplementor ()
|
{
|
return new global::Com.Hdl.Hdllinphonesdk.Callback.IOnHDLLinphoneCallListenerImplementor (this);
|
}
|
|
#endregion
|
|
}
|
}
|