Ejemplo n.º 1
0
 internal BtSdkCallbackStru(NativeMethods.Btsdk_UserHandle_Pin_Req_Ind_Func pinReqIndFunc)
 {
     _type = StackConsts.CallbackType.PIN_CODE_IND;
     _func = pinReqIndFunc;
 }
Ejemplo n.º 2
0
 internal BtSdkCallbackStru(NativeMethods.Btsdk_Inquiry_Complete_Ind_Func inquiryCompleteIndFunc)
 {
     _type = StackConsts.CallbackType.INQUIRY_COMPLETE_IND;
     _func = inquiryCompleteIndFunc;
 }
Ejemplo n.º 3
0
 internal BtSdkCallbackStru(NativeMethods.Btsdk_Connection_Event_Ind_Func connectionEventIndFunc)
 {
     _type = StackConsts.CallbackType.CONNECTION_EVENT_IND;
     _func = connectionEventIndFunc;
 }
Ejemplo n.º 4
0
            readonly Delegate                                     _func; /*callback function*/

            internal BtSdkCallbackStru(NativeMethods.Btsdk_Inquiry_Result_Ind_Func inquiryResultIndFunc)
            {
                _type = StackConsts.CallbackType.INQUIRY_RESULT_IND;
                _func = inquiryResultIndFunc;
            }