Coherent UI for .NET  2.5.3
A modern user interface library for games
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Coherent.UI.MediaStreamRequest Class Reference

Represents a request for media stream. More...

Inherits IDisposable.

Public Member Functions

void Respond (uint[] devices)
 Respond to the media stream request. More...
 

Properties

MediaStreamDevice[] Devices [get]
 Get the list of available devices for the request. The list contains only devices of the requested types. More...
 

Detailed Description

Represents a request for media stream.

Member Function Documentation

void Coherent.UI.MediaStreamRequest.Respond ( uint[]  devices)
inline

Respond to the media stream request.

Parameters
devicesarray of indices of the media stream devices to use for the request

Only a single device per stream type must be allowed. After a call to Respond calling any method on the instance results in undefined behavior. Must be called on the thread that owns the Coherent::UI::ViewContext instance.

Property Documentation

MediaStreamDevice [] Coherent.UI.MediaStreamRequest.Devices
get

Get the list of available devices for the request. The list contains only devices of the requested types.