A description of the layout within a mixed video view. More...
Public Member Functions | |
java.util.HashMap< String, fm.liveswitch.LayoutFrame > | getBounds () |
Gets the bounds, keyed by connection ID. More... | |
boolean | getCrop () |
Gets whether to crop. More... | |
java.util.HashMap< String, fm.liveswitch.LayoutFrame > | getFrames () |
Gets the frames, keyed by connection ID. More... | |
int | getHeight () |
Gets the video height. More... | |
fm.liveswitch.VideoLayoutRegion[] | getRegions () |
Gets the regions within the layout where each region has a frame, bounds, and client/connection information. More... | |
int | getWidth () |
Gets the video width. More... | |
boolean | isEquivalent (fm.liveswitch.VideoLayout videoLayout) |
Determines whether the specified video layout is equivalent. More... | |
String | toJson () |
Serializes this instance to JSON. More... | |
VideoLayout (int width, int height) | |
Initializes a new instance of the fm.liveswitch.VideoLayout class. More... | |
VideoLayout (int width, int height, boolean crop) | |
Initializes a new instance of the fm.liveswitch.VideoLayout class. More... | |
VideoLayout (int width, int height, java.util.HashMap< String, fm.liveswitch.LayoutFrame > frames, java.util.HashMap< String, fm.liveswitch.LayoutFrame > bounds) | |
Initializes a new instance of the fm.liveswitch.VideoLayout class. More... | |
VideoLayout (int width, int height, java.util.HashMap< String, fm.liveswitch.LayoutFrame > frames, java.util.HashMap< String, fm.liveswitch.LayoutFrame > bounds, boolean crop) | |
Initializes a new instance of the fm.liveswitch.VideoLayout class. More... | |
Static Public Member Functions | |
static fm.liveswitch.VideoLayout | fromJson (String videoLayoutJson) |
Deserializes a view from JSON. More... | |
static String | toJson (fm.liveswitch.VideoLayout videoLayout) |
Serializes a view to JSON. More... | |
A description of the layout within a mixed video view.
fm.liveswitch.VideoLayout.VideoLayout | ( | int | width, |
int | height | ||
) |
Initializes a new instance of the fm.liveswitch.VideoLayout class.
fm.liveswitch.VideoLayout.VideoLayout | ( | int | width, |
int | height, | ||
boolean | crop | ||
) |
Initializes a new instance of the fm.liveswitch.VideoLayout class.
fm.liveswitch.VideoLayout.VideoLayout | ( | int | width, |
int | height, | ||
java.util.HashMap< String, fm.liveswitch.LayoutFrame > | frames, | ||
java.util.HashMap< String, fm.liveswitch.LayoutFrame > | bounds | ||
) |
Initializes a new instance of the fm.liveswitch.VideoLayout class.
fm.liveswitch.VideoLayout.VideoLayout | ( | int | width, |
int | height, | ||
java.util.HashMap< String, fm.liveswitch.LayoutFrame > | frames, | ||
java.util.HashMap< String, fm.liveswitch.LayoutFrame > | bounds, | ||
boolean | crop | ||
) |
Initializes a new instance of the fm.liveswitch.VideoLayout class.
|
static |
Deserializes a view from JSON.
videoLayoutJson | The layout JSON. |
java.util.HashMap<String,fm.liveswitch.LayoutFrame> fm.liveswitch.VideoLayout.getBounds | ( | ) |
Gets the bounds, keyed by connection ID.
boolean fm.liveswitch.VideoLayout.getCrop | ( | ) |
Gets whether to crop.
java.util.HashMap<String,fm.liveswitch.LayoutFrame> fm.liveswitch.VideoLayout.getFrames | ( | ) |
Gets the frames, keyed by connection ID.
int fm.liveswitch.VideoLayout.getHeight | ( | ) |
Gets the video height.
fm.liveswitch.VideoLayoutRegion [] fm.liveswitch.VideoLayout.getRegions | ( | ) |
Gets the regions within the layout where each region has a frame, bounds, and client/connection information.
int fm.liveswitch.VideoLayout.getWidth | ( | ) |
Gets the video width.
boolean fm.liveswitch.VideoLayout.isEquivalent | ( | fm.liveswitch.VideoLayout | videoLayout | ) |
Determines whether the specified video layout is equivalent.
videoLayout | The video layout. |
String fm.liveswitch.VideoLayout.toJson | ( | ) |
Serializes this instance to JSON.
|
static |
Serializes a view to JSON.
videoLayout | The layout. |