Used to create a Subscriber instance. More...

Public Member Functions
Builder (Context context, Stream stream)
Creates a new Builder instance. More...
Subscriber Build ()
Use parameters in the builder instance to create a Subscriber object More...
Properties
IVideoRenderer Renderer [get, set]
The video renderer for the subscriber. If you do not specify a renderer, the video isn't rendered (and only audio is played back). More...
Context Context [get, set]
The Content object used to manage resources for the Subscriber. More...
Stream Stream [get, set]
The Stream object corresponding to the stream you will subscribe to. More...

Detailed Description

Used to create a Subscriber instance.

Instantiate a Builder instance by calling the Builder() constructor. Then (optionally), set properties of the Builder object. Then call the Build() method to create a Subscriber object.

Constructor & Destructor Documentation

Builder()

OpenTok.Builder.Builder ( Context context,
Stream stream
)

Creates a new Builder instance.

Parameters : | | | | --- | --- | | context | The Context to use for the Subscriber object. | | stream | The Stream object corresponding to the stream you will subscribe to. |

Member Function Documentation

Build()

Subscriber OpenTok.Builder.Build ( )

Use parameters in the builder instance to create a Subscriber object

Returns

Property Documentation

Context

The Content object used to manage resources for the Subscriber.

Renderer

The video renderer for the subscriber. If you do not specify a renderer, the video isn't rendered (and only audio is played back).

Stream

The Stream object corresponding to the stream you will subscribe to.