Represents a broadcast layout of an Vonage Video API session. More...
Public Types | |
enum | LayoutType { LayoutType.Pip, LayoutType.BestFit, LayoutType.VerticalPresentation, LayoutType.HorizontalPresentation, LayoutType.Custom } |
Defines values for the layout parameter of the StartBroadcast method of the OpenTok class. More... |
Public Member Functions | |
BroadcastLayout (ScreenShareLayoutType type) | |
Initalizes a Broadcast layout with the given ScreenShareLayoutType, automatically setting the Type to BestFit. More... | |
BroadcastLayout (LayoutType type) | |
Initalizes a BroadcastLayout with the given LayoutType More... | |
BroadcastLayout (LayoutType type, string stylesheet) | |
Initalizes a BroadcastLayout with the given LayoutType and stylesheet - note Type must be LayoutType.Custom More... |
Properties | |
LayoutType | Type [get, set] |
The Layout type More... | |
string | Stylesheet [get, set] |
The Stylesheet for the Custom Layout More... | |
ScreenShareLayoutType? | ScreenShareType [get, set] |
The LayoutTypeto use when there is a screen-sharing stream in the session. Note that to use this property, you must set the Type property to LayoutType.BestFit and leave the Stylesheet property unset. For more information, see Layout types for screen sharing. NOTE: LayoutType.Custom is not valid for this property More... |
Represents a broadcast layout of an Vonage Video API session.
Defines values for the layout parameter of the StartBroadcast method of the OpenTok class.
Enumerator | |
---|---|
Pip | Picture-in-Picture |
BestFit | Best Fit |
VerticalPresentation | Vertical Presentation |
HorizontalPresentation | Horizontal Presentation |
Custom | Custom Layout |
OpenTokSDK.BroadcastLayout.BroadcastLayout | ( | ScreenShareLayoutType | type | ) |
Initalizes a Broadcast layout with the given ScreenShareLayoutType, automatically setting the Type to BestFit.
type |
OpenTokSDK.BroadcastLayout.BroadcastLayout | ( | LayoutType | type | ) |
Initalizes a BroadcastLayout with the given LayoutType
type |
OpenTokSDK.BroadcastLayout.BroadcastLayout | ( | LayoutType | type, |
string | stylesheet | ||
) |
Initalizes a BroadcastLayout with the given LayoutType and stylesheet - note Type must be LayoutType.Custom
type | |
stylesheet | A string de |
|
The LayoutTypeto use when there is a screen-sharing stream in the session. Note that to use this property, you must set the Type property to LayoutType.BestFit and leave the Stylesheet property unset. For more information, see Layout types for screen sharing. NOTE: LayoutType.Custom is not valid for this property
|
The Stylesheet for the Custom Layout
|
The Layout type