TsgcSTUNClient › 属性 › NotifyEvents
选择线程事件与主 VCL/FMX 线程的同步方式。
property NotifyEvents: TwsNotifyEvent read GetNotifyEvents write SetNotifyEvents;
—
定义用于分发 OnSTUN* 事件的线程模型:
TThread.Synchronize 与主线程同步。oSTUN.NotifyEvents := neAsynchronous;
oSTUN.SendRequest;