public static eARCONTROLLER_ERROR ARCONTROLLER_Device_Stop(ARCONTROLLER_Device_t deviceController) { eARCONTROLLER_ERROR ret = (eARCONTROLLER_ERROR)ARDroneSDK3PINVOKE.ARCONTROLLER_Device_Stop(ARCONTROLLER_Device_t.getCPtr(deviceController)); return ret; }
public static eARCONTROLLER_ERROR ARCONTROLLER_Device_SetVideoReceiveCallback(ARCONTROLLER_Device_t deviceController, System.IntPtr receiveFrameCallback, System.IntPtr timeoutFrameCallback, System.IntPtr customData) { eARCONTROLLER_ERROR ret = (eARCONTROLLER_ERROR)ARDroneSDK3PINVOKE.ARCONTROLLER_Device_SetVideoReceiveCallback(ARCONTROLLER_Device_t.getCPtr(deviceController), receiveFrameCallback, timeoutFrameCallback, new global::System.Runtime.InteropServices.HandleRef(null, customData)); return ret; }
public static eARCONTROLLER_ERROR ARCONTROLLER_Device_RemoveStateChangedCallback(ARCONTROLLER_Device_t deviceController, System.IntPtr stateChangedCallback, System.IntPtr customData) { eARCONTROLLER_ERROR ret = (eARCONTROLLER_ERROR)ARDroneSDK3PINVOKE.ARCONTROLLER_Device_RemoveStateChangedCallback(ARCONTROLLER_Device_t.getCPtr(deviceController), stateChangedCallback, new global::System.Runtime.InteropServices.HandleRef(null, customData)); return ret; }
public static eARCONTROLLER_DEVICE_STATE ARCONTROLLER_Device_GetState(ARCONTROLLER_Device_t deviceController, ref eARCONTROLLER_ERROR error) { eARCONTROLLER_DEVICE_STATE ret = (eARCONTROLLER_DEVICE_STATE)ARDroneSDK3PINVOKE.ARCONTROLLER_Device_GetState(ARCONTROLLER_Device_t.getCPtr(deviceController), ref error); return ret; }
public static ARCONTROLLER_DICTIONARY_ELEMENT_t ARCONTROLLER_Device_GetCommandElements(ARCONTROLLER_Device_t deviceController, eARCONTROLLER_DICTIONARY_KEY commandKey, ref eARCONTROLLER_ERROR error) { global::System.IntPtr cPtr = ARDroneSDK3PINVOKE.ARCONTROLLER_Device_GetCommandElements(ARCONTROLLER_Device_t.getCPtr(deviceController), (int)commandKey, ref error); ARCONTROLLER_DICTIONARY_ELEMENT_t ret = (cPtr == global::System.IntPtr.Zero) ? null : new ARCONTROLLER_DICTIONARY_ELEMENT_t(cPtr, false); return ret; }
public static global::System.Runtime.InteropServices.HandleRef getCPtr(ARCONTROLLER_Device_t obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; }