Represents video resolution parameters like width, height, fps. More...
Public Member Functions | |
| int | getFps () |
| Gets the frames per second of the video. More... | |
| int | getHeight () |
| Gets the height of the video. More... | |
| int | getWidth () |
| Gets the width of the video. More... | |
| void | setFps (int value) |
| Sets the frames per second of the video. More... | |
| void | setHeight (int value) |
| Sets the height of the video. More... | |
| void | setWidth (int value) |
| Sets the width of the video. More... | |
| String | toString () |
| Returns a string that represents this instance. More... | |
| VideoProfile () | |
| Initializes a new instance of the fm.liveswitch.VideoProfile class. More... | |
| VideoProfile (int width, int height, int fps) | |
| Initializes a new instance of the fm.liveswitch.VideoProfile class. More... | |
Static Public Member Functions | |
| static boolean | isValid (fm.liveswitch.VideoProfile videoResolution) |
| checks if the resolution is valid. More... | |
Represents video resolution parameters like width, height, fps.
| fm.liveswitch.VideoProfile.VideoProfile | ( | ) |
Initializes a new instance of the fm.liveswitch.VideoProfile class.
| fm.liveswitch.VideoProfile.VideoProfile | ( | int | width, |
| int | height, | ||
| int | fps | ||
| ) |
Initializes a new instance of the fm.liveswitch.VideoProfile class.
| width | The width of the video. |
| height | The height of the video. |
| fps | The frames per second of the video. |
| int fm.liveswitch.VideoProfile.getFps | ( | ) |
Gets the frames per second of the video.
| int fm.liveswitch.VideoProfile.getHeight | ( | ) |
Gets the height of the video.
| int fm.liveswitch.VideoProfile.getWidth | ( | ) |
Gets the width of the video.
|
static |
checks if the resolution is valid.
| void fm.liveswitch.VideoProfile.setFps | ( | int | value | ) |
Sets the frames per second of the video.
| void fm.liveswitch.VideoProfile.setHeight | ( | int | value | ) |
Sets the height of the video.
| void fm.liveswitch.VideoProfile.setWidth | ( | int | value | ) |
Sets the width of the video.
| String fm.liveswitch.VideoProfile.toString | ( | ) |
Returns a string that represents this instance.