Connected Event
Fired immediately after a connection to a remote device completes (or fails).
Syntax
typedef struct { int StatusCode; String Description; } TiplBLEClientConnectedEventParams; typedef void __fastcall (__closure *TiplBLEClientConnectedEvent)(System::TObject* Sender, TiplBLEClientConnectedEventParams *e); __property TiplBLEClientConnectedEvent OnConnected = { read=FOnConnected, write=FOnConnected };
Remarks
If the connection is made successfully, StatusCode is 0 and Description is "OK".
If the connection fails, StatusCode has the error code returned by the Bluetooth stack. Description contains a description of this code.
Refer to the Connect method for more information.