|Top Previous Next|
type // defined in MRVType unit
property OnReceiveUserData: TRVDataReadEvent;
AData – received content
nGUIDFrom – identifier of the sender which sent the command (TRVCamSender.GUIDFrom)
If you perform time consuming operations inside an event, it makes sense to compare values of SessionKey parameter and SessionKey property, to make sure that a connection was not closed or reopened.
The event is called in a thread context or a main process context, depending on SynchonizedReceiveUserData property.
Do not update user interface (or make any other operation that requires a context of the main process) in events called in a thread context.