OpenTok Windows SDK
Public Member Functions | Properties | List of all members
OpenTok.Subscriber.Builder Class Reference

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.Subscriber.Builder.Builder ( Context  context,
Stream  stream 
)

Creates a new Builder instance.

Parameters
contextThe Context to use for the Subscriber object.
streamThe Stream object corresponding to the stream you will subscribe to.

Member Function Documentation

◆ Build()

Subscriber OpenTok.Subscriber.Builder.Build ( )

Use parameters in the builder instance to create a Subscriber object

Returns

Property Documentation

◆ Context

Context OpenTok.Subscriber.Builder.Context
getset

The Content object used to manage resources for the Subscriber.

◆ Renderer

IVideoRenderer OpenTok.Subscriber.Builder.Renderer
getset

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

Stream OpenTok.Subscriber.Builder.Stream
getset

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


The documentation for this class was generated from the following file: