Meeting SDK for Android API Reference
Loading...
Searching...
No Matches
us.zoom.sdk.VideoSize Class Reference

The size of user's video. More...

Public Member Functions

 VideoSize (int width, int height)
int getWidth ()
 Gets the width of the user's video.
int getHeight ()
 Gets the height of the user's video.

Private Attributes

final int width
final int height

Detailed Description

The size of user's video.

Definition at line 6 of file VideoSize.java.

Constructor & Destructor Documentation

◆ VideoSize()

us.zoom.sdk.VideoSize.VideoSize ( int width,
int height )
inline

Definition at line 11 of file VideoSize.java.

11 {
12 this.width = width;
13 this.height = height;
14 }

References height, and width.

Member Function Documentation

◆ getHeight()

int us.zoom.sdk.VideoSize.getHeight ( )
inline

Gets the height of the user's video.

Returns
If the function succeeds, it returns the height of the user's video. Otherwise, this function fails and returns 0.

Definition at line 30 of file VideoSize.java.

30 {
31 return height;
32 }

References height.

◆ getWidth()

int us.zoom.sdk.VideoSize.getWidth ( )
inline

Gets the width of the user's video.

Returns
If the function succeeds, it returns the width of the user's video. Otherwise, this function fails and returns 0.

Definition at line 21 of file VideoSize.java.

21 {
22 return width;
23 }

References width.

Field Documentation

◆ height

final int us.zoom.sdk.VideoSize.height
private

Definition at line 9 of file VideoSize.java.

Referenced by getHeight(), and VideoSize().

◆ width

final int us.zoom.sdk.VideoSize.width
private

Definition at line 8 of file VideoSize.java.

Referenced by getWidth(), and VideoSize().