Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Index: Difference between revisions
Jump to navigation
Jump to search
Animadoria (talk | contribs) (Created automatically by Anima Importer) |
Animadoria (talk | contribs) No edit summary |
||
| Line 6: | Line 6: | ||
Contains properties, methods, and events for sending and receiving data and for interacting with the MSN® Messenger Chat History window. | Contains properties, methods, and events for sending and receiving data and for interacting with the MSN® Messenger Chat History window. | ||
Members Table | === Members Table === | ||
<div class="clsTableStd" tabname="Events"> | <div class="clsTableStd" tabname="Events"> | ||
{| | |||
{| class="wikitable | |||
! Event | ! Event | ||
! Description | ! Description | ||
|- | |- | ||
| [[Protocols/MSNP/Activities/SDK/ | | [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Events/OnAppClose|OnAppClose]] | ||
| The MSN Messenger client is about to shut down. | | The MSN Messenger client is about to shut down. | ||
|- | |- | ||
| [[Protocols/MSNP/Activities/SDK/ | | [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Events/OnDataError|OnDataError]] | ||
| There was an unsuccessful SendData operation. | | There was an unsuccessful SendData operation. | ||
|- | |- | ||
| [[Protocols/MSNP/Activities/SDK/ | | [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Events/OnDataReceived|OnDataReceived]] | ||
| Data was received from the remote application. | | Data was received from the remote application. | ||
|- | |- | ||
| [[Protocols/MSNP/Activities/SDK/ | | [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Events/OnFileProgress|OnFileProgress]] | ||
| There was some progress | | There was some progress On a file transfer. Requires SendFile permission. | ||
|- | |- | ||
| [[Protocols/MSNP/Activities/SDK/ | | [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Events/OnFileReceived|OnFileReceived]] | ||
| A file was received from the remote | | A file was received from the remote applicatiOn. Requires ActiveX and SendFile permissiOns. | ||
|- | |- | ||
| [[Protocols/MSNP/Activities/SDK/ | | [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Events/OnIMReceived|OnIMReceived]] | ||
| An instant message was received from the remote application. Requires either ReceiveIM or ReplaceIM permission flag. | | An instant message was received from the remote application. Requires either ReceiveIM or ReplaceIM permission flag. | ||
|- | |- | ||
| [[Protocols/MSNP/Activities/SDK/ | | [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Events/OnRemoteAppClosed|OnRemoteAppClosed]] | ||
| The remote application has shut down. | | The remote application has shut down. | ||
|- | |- | ||
| [[Protocols/MSNP/Activities/SDK/ | | [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Events/OnRemoteAppLoaded|OnRemoteAppLoaded]] | ||
| The remote application has loaded and is ready to receive | | The remote application has loaded and is ready to receive Events. | ||
|- | |- | ||
| [[Protocols/MSNP/Activities/SDK/ | | [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Events/OnSendFileCancelled|OnSendFileCancelled]] | ||
| File transfer was canceled. Requires SendFile permission. | | File transfer was canceled. Requires SendFile permission. | ||
|- | |- | ||
| Line 46: | Line 47: | ||
{| class="wikitable | |||
! Method | ! Method | ||
! Description | ! Description | ||
| Line 63: | Line 58: | ||
|- | |- | ||
| [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Methods/Initialize|Initialize]] | | [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Methods/Initialize|Initialize]] | ||
| Signals the remote MSN Messenger client that the Activity is ready to accept | | Signals the remote MSN Messenger client that the Activity is ready to accept Events. | ||
|- | |- | ||
| [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Methods/SendData|SendData]] | | [[Protocols/MSNP/Activities/SDK/Techref/Objectmodel/Objects/Channel/Methods/SendData|SendData]] | ||
| Line 79: | Line 74: | ||
{| class="wikitable | |||
! Property | ! Property | ||
! Description | ! Description | ||
| Line 109: | Line 98: | ||
=== Object Information === | |||
Object Information | |||
'''Minimum Availability:''' MSN Messenger 6.0 | |||
Latest revision as of 00:40, 13 August 2022
Channel Object
Contains properties, methods, and events for sending and receiving data and for interacting with the MSN® Messenger Chat History window.
Members Table
| Event | Description |
|---|---|
| OnAppClose | The MSN Messenger client is about to shut down. |
| OnDataError | There was an unsuccessful SendData operation. |
| OnDataReceived | Data was received from the remote application. |
| OnFileProgress | There was some progress On a file transfer. Requires SendFile permission. |
| OnFileReceived | A file was received from the remote applicatiOn. Requires ActiveX and SendFile permissiOns. |
| OnIMReceived | An instant message was received from the remote application. Requires either ReceiveIM or ReplaceIM permission flag. |
| OnRemoteAppClosed | The remote application has shut down. |
| OnRemoteAppLoaded | The remote application has loaded and is ready to receive Events. |
| OnSendFileCancelled | File transfer was canceled. Requires SendFile permission. |
| OnTypeChanged | The type of connection between peers has changed. |
| Method | Description |
|---|---|
| CancelSendFile | Cancels a file transfer in progress. Requires SendFile permission. |
| EnterIM | Enters a message into the text input window. Requires SendIM permission. |
| Initialize | Signals the remote MSN Messenger client that the Activity is ready to accept Events. |
| SendData | Sends data to the remote application. |
| SendFile | Sends a file from the application. Requires SendFile and ActiveX permissions. |
| SendIM | Sends an instant message from the application. Requires SendIM permission. |
| SendIMAsUser | Sends an instant message as the user. Requires ReplaceIM permission. |
| Property | Description |
|---|---|
| Data | A variant containing the data received from the remote application. |
| Error | An Error object containing data that could not be delivered. |
| FileInfo | A FileInfo object that represents a file being sent or received. Requires SendFile permission. |
| Type | A ConnectionType value representing the type of connection between peers. |
| IM (read-only) | String containing the instant message that was received and displayed. Requires ReceiveIM permission. |
| IM (read-write) | String containing the instant message that was received. The message can be changed before it is displayed. Requires ReplaceIM permission. |
Object Information
Minimum Availability: MSN Messenger 6.0