public static ARCONTROLLER_Device_t ARCONTROLLER_Device_New(SWIGTYPE_p_ARDISCOVERY_Device_t discoveryDevice, ref eARCONTROLLER_ERROR error) { global::System.IntPtr cPtr = ARDroneSDK3PINVOKE.ARCONTROLLER_Device_New(SWIGTYPE_p_ARDISCOVERY_Device_t.getCPtr(discoveryDevice), ref error); ARCONTROLLER_Device_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new ARCONTROLLER_Device_t(cPtr, false); return ret; }
public static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_ARDISCOVERY_Device_t obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }
public static SWIGTYPE_p_ARDISCOVERY_Device_t ARDISCOVERY_Device_NewByCopy(SWIGTYPE_p_ARDISCOVERY_Device_t deviceToCopy, ref eARDISCOVERY_ERROR error) { global::System.IntPtr cPtr = ARDroneSDK3PINVOKE.ARDISCOVERY_Device_NewByCopy(SWIGTYPE_p_ARDISCOVERY_Device_t.getCPtr(deviceToCopy), ref error); SWIGTYPE_p_ARDISCOVERY_Device_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_ARDISCOVERY_Device_t(cPtr, false); return ret; }
public static eARDISCOVERY_ERROR ARDISCOVERY_Device_WifiAddConnectionCallbacks(SWIGTYPE_p_ARDISCOVERY_Device_t device, SWIGTYPE_p_f_p_json_object_p_void__eARDISCOVERY_ERROR sendJsonCallback, SWIGTYPE_p_f_p_json_object_p_void__eARDISCOVERY_ERROR receiveJsonCallback, System.IntPtr customData) { eARDISCOVERY_ERROR ret = (eARDISCOVERY_ERROR)ARDroneSDK3PINVOKE.ARDISCOVERY_Device_WifiAddConnectionCallbacks(SWIGTYPE_p_ARDISCOVERY_Device_t.getCPtr(device), SWIGTYPE_p_f_p_json_object_p_void__eARDISCOVERY_ERROR.getCPtr(sendJsonCallback), SWIGTYPE_p_f_p_json_object_p_void__eARDISCOVERY_ERROR.getCPtr(receiveJsonCallback), new global::System.Runtime.InteropServices.HandleRef(null, customData)); return ret; }
public static SWIGTYPE_p_ARNETWORKAL_Manager_t ARDISCOVERY_Device_NewARNetworkAL(SWIGTYPE_p_ARDISCOVERY_Device_t discoveryDevice, ref eARDISCOVERY_ERROR error, SWIGTYPE_p_eARNETWORKAL_ERROR errorAL) { global::System.IntPtr cPtr = ARDroneSDK3PINVOKE.ARDISCOVERY_Device_NewARNetworkAL(SWIGTYPE_p_ARDISCOVERY_Device_t.getCPtr(discoveryDevice), ref error, SWIGTYPE_p_eARNETWORKAL_ERROR.getCPtr(errorAL)); SWIGTYPE_p_ARNETWORKAL_Manager_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_ARNETWORKAL_Manager_t(cPtr, false); return ret; }
public static eARDISCOVERY_ERROR ARDISCOVERY_Device_InitWifi(SWIGTYPE_p_ARDISCOVERY_Device_t device, eARDISCOVERY_PRODUCT product, string name, string address, int port) { eARDISCOVERY_ERROR ret = (eARDISCOVERY_ERROR)ARDroneSDK3PINVOKE.ARDISCOVERY_Device_InitWifi(SWIGTYPE_p_ARDISCOVERY_Device_t.getCPtr(device), (int)product, name, address, port); return ret; }
public static eARDISCOVERY_ERROR ARDISCOVERY_Device_InitNetworkCongifuration(SWIGTYPE_p_ARDISCOVERY_Device_t discoveryDevice, SWIGTYPE_p_ARDISCOVERY_NetworkConfiguration_t networkConfiguration) { eARDISCOVERY_ERROR ret = (eARDISCOVERY_ERROR)ARDroneSDK3PINVOKE.ARDISCOVERY_Device_InitNetworkCongifuration(SWIGTYPE_p_ARDISCOVERY_Device_t.getCPtr(discoveryDevice), SWIGTYPE_p_ARDISCOVERY_NetworkConfiguration_t.getCPtr(networkConfiguration)); return ret; }
public static eARDISCOVERY_ERROR ARDISCOVERY_Device_InitBLE(SWIGTYPE_p_ARDISCOVERY_Device_t device, eARDISCOVERY_PRODUCT product, SWIGTYPE_p_ARNETWORKAL_BLEDeviceManager_t bleDeviceManager, SWIGTYPE_p_ARNETWORKAL_BLEDevice_t bleDevice) { eARDISCOVERY_ERROR ret = (eARDISCOVERY_ERROR)ARDroneSDK3PINVOKE.ARDISCOVERY_Device_InitBLE(SWIGTYPE_p_ARDISCOVERY_Device_t.getCPtr(device), (int)product, SWIGTYPE_p_ARNETWORKAL_BLEDeviceManager_t.getCPtr(bleDeviceManager), SWIGTYPE_p_ARNETWORKAL_BLEDevice_t.getCPtr(bleDevice)); if (ARDroneSDK3PINVOKE.SWIGPendingException.Pending) throw ARDroneSDK3PINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static eARDISCOVERY_ERROR ARDISCOVERY_Device_DeleteARNetworkAL(SWIGTYPE_p_ARDISCOVERY_Device_t discoveryDevice, SWIGTYPE_p_p_ARNETWORKAL_Manager_t networkALManager) { eARDISCOVERY_ERROR ret = (eARDISCOVERY_ERROR)ARDroneSDK3PINVOKE.ARDISCOVERY_Device_DeleteARNetworkAL(SWIGTYPE_p_ARDISCOVERY_Device_t.getCPtr(discoveryDevice), SWIGTYPE_p_p_ARNETWORKAL_Manager_t.getCPtr(networkALManager)); return ret; }