Partager via


Real-time Communications Client API Examples

The following examples show basic operations for establishing and managing a Real-time Communications (RTC) session.

Operation Description
Initialize the Communications Service Creates and initializes the Communications Service object.
Create and Enable a Profile Creates a Profile object and enables it for use.
Deregister and Disable a Profile Deregisters and disables a profile contained in the list of enabled profiles.
Create a Text Messaging Session Creates an IM session and sends an IM message.
Register to Receive Events Registers to receive events and listens for incoming calls.
Handle Events Implements an event handler.
Add to Media Preferences Adds media preferences to a Communications Service application.
Create a Session and Make a Call Makes a call.
Answer a Call Receives an incoming call.
Terminate a Call Terminates a call.
Shut Down the Communications Service Shuts down the RTC client.

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.