ADL.NativeAPI.adl_connect C# (CSharp) Method

adl_connect() private method

private adl_connect ( adl_void_rclbck_t rclbck, IntPtr handle, IntPtr opaque, ADLConnectionDescription &connDescr ) : void
rclbck adl_void_rclbck_t
handle System.IntPtr
opaque System.IntPtr
connDescr ADLConnectionDescription
return void
        public static extern void adl_connect(adl_void_rclbck_t rclbck,
            ADLH handle, IntPtr opaque, ref ADLConnectionDescription connDescr);

Usage Example

Example #1
0
        /**
         * CloudeoService - Connectivity
         * =====================================================================
         */

        /// <inheritdoc />
        public void connect(Responder <object> responder,
                            ConnectionDescription connDescription)
        {
            if (!isPlatformInitialized <object>(responder))
            {
                return;
            }

            var cdn = connDescription.toNative();

            NativeAPI.adl_connect(
                _voidRCallback,
                _platformHandle,
                saveResponder(responder),
                ref cdn);
        }