AgoraViewMode
rn-agora-docs › "types" › AgoraViewMode
AgoraViewMode
mode
hidden Uniformly scale the video until it fills the visible boundaries (cropped). One dimension of the video may have clipped contents.
mode
FIT Uniformly scale the video until one of its dimension fits the boundary (zoomed to fit). Areas that are not filled due to the disparity in the aspect ratio are filled with black.
Index
Enumeration members
Enumeration members
FIT
• FIT: = 2
Defined in types.ts:46
HIDDEN
• HIDDEN: = 1
Defined in types.ts:45