This documentation is archived and is not being maintained.

Extending the MediaFlow Class

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

The MediaFlow abstract class represents a generic flow concept for objects that send or receive media. A nonabstract subclass represents the flow of a specific media type. The Unified Communications Managed API 2.0 Core SDK provides two MediaFlow subclasses, AudioVideoFlow and InstantMessagingFlow. These classes represent flows whose media type is, respectively, “audio, video” and “message”.

A developer who intends to support a different media type must implement a MediaFlow subclass that represents that media type.

None of the methods, properties, and events on the abstract MediaFlow class are themselves abstract. As a result, a subclass that inherits from the MediaFlow class is not required to provide overriding method, property, or event definitions.