Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Events/OnDataReceived: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
Animadoria (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- Generated @ 08/12/2022 23: | <!-- Generated @ 08/12/2022 23:45:53 +01:00 using Anima's CHM converter based on techref/objectmodel/objects/channel/events/OnDataReceived.htm --> | ||
{{Protocols/MSNP|section=Activities}} | {{Protocols/MSNP|section=Activities}} | ||
__NOTOC__= | __NOTOC__= [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Index|Channel]].OnDataReceived Event = | ||
Fires when incoming data is received from the remote application. | Fires when incoming data is received from the remote application. | ||
VBScript Syntax | === VBScript Syntax === | ||
<div class="clsCodeStd"> | <div class="clsCodeStd"> | ||
Line 12: | Line 12: | ||
<pre class="clsCode">function Channel_OnDataReceived() | <pre class="clsCode">function Channel_OnDataReceived() | ||
' Data was received from remote application, inspect the value of Channel.Data | ' Data was received from remote application, inspect the value of Channel.Data | ||
End Function | End Function</pre> | ||
</div> | </div> | ||
JavaScript Syntax | |||
=== JavaScript Syntax === | |||
<div class="clsCodeStd"> | <div class="clsCodeStd"> | ||
Line 22: | Line 22: | ||
<pre class="clsCode">function Channel_OnDataReceived() { | <pre class="clsCode">function Channel_OnDataReceived() { | ||
// Data was received from remote application, inspect the value of Channel.Data | // Data was received from remote application, inspect the value of Channel.Data | ||
} | }</pre> | ||
</div> | </div> | ||
Remarks | |||
=== Remarks === | |||
Inspect the value of <span class="clsObject">Channel.Data</span> after every <span class="clsEvent">OnDataReceived</span> event. | Inspect the value of <span class="clsObject">Channel.Data</span> after every <span class="clsEvent">OnDataReceived</span> event. |
Latest revision as of 00:46, 13 August 2022
Channel.OnDataReceived Event
Fires when incoming data is received from the remote application.
VBScript Syntax
function Channel_OnDataReceived() ' Data was received from remote application, inspect the value of Channel.Data End Function
JavaScript Syntax
function Channel_OnDataReceived() { // Data was received from remote application, inspect the value of Channel.Data }
Remarks
Inspect the value of Channel.Data after every OnDataReceived event.