AuthRequest Event
Fired when a device requests authentication.
Syntax
typedef struct { String Address; String Name; String Password; bool Accept; } TiptBTInfoAuthRequestEventParams; typedef void __fastcall (__closure *TiptBTInfoAuthRequestEvent)(System::TObject* Sender, TiptBTInfoAuthRequestEventParams *e); __property TiptBTInfoAuthRequestEvent OnAuthRequest = { read=FOnAuthRequest, write=FOnAuthRequest };
Remarks
This event fires when a device requests authentication. This will only fire if StartAuthMonitor has been previously called.
Address holds the Bluetooth address. For instance "00:02:72:C6:64:B7".
Name is the name of the device.
Password defines the password to be sent back to the device. This parameter will always be empty when the event fires and must be set within the event.
Accept specifies whether to accept the request. The default value is False. This must be set to True within this event to accept the request.