liveWindow video preview window
More...
liveWindow video preview window
- Warning
- In the NvsLiveWindow class, all public APIs are used in the UI thread! ! !
com.meicam.sdk.NvsLiveWindow.NvsLiveWindow |
( |
Context |
context | ) |
|
|
inline |
com.meicam.sdk.NvsLiveWindow.NvsLiveWindow |
( |
Context |
context, |
|
|
AttributeSet |
attrs |
|
) |
| |
|
inline |
com.meicam.sdk.NvsLiveWindow.NvsLiveWindow |
( |
Context |
context, |
|
|
AttributeSet |
attrs, |
|
|
int |
defStyleAttr |
|
) |
| |
|
inline |
com.meicam.sdk.NvsLiveWindow.NvsLiveWindow |
( |
Context |
context, |
|
|
AttributeSet |
attrs, |
|
|
int |
defStyleAttr, |
|
|
int |
defStyleRes |
|
) |
| |
|
inline |
void com.meicam.sdk.NvsLiveWindow.clearVideoFrame |
( |
| ) |
|
|
inline |
Clears LiveWindow video frames.
int com.meicam.sdk.NvsLiveWindow.getFillMode |
( |
| ) |
|
|
inline |
Gets the fill mode of LiveWindow.
- Returns
- Returns LiveWindow's Fill Mode
PointF com.meicam.sdk.NvsLiveWindow.mapCanonicalToView |
( |
PointF |
ptCanonical | ) |
|
|
inline |
Timeline coordinates are converted to view coordinates.
- Parameters
-
ptCanonical | Timeline coordinate point. |
- Returns
- Returns the converted view point PointF object.
- Since
- 1.1.0
- See also
- mapViewToCanonical
PointF com.meicam.sdk.NvsLiveWindow.mapNormalizedToView |
( |
PointF |
ptNormalized | ) |
|
|
inline |
Normalized coordinates are converted to view coordinates.
- Parameters
-
ptNormalized | Normalized coordinate point. |
- Returns
- Returns the converted view point PointF object.
- Since
- 1.1.0
- See also
- mapViewToNormalized
PointF com.meicam.sdk.NvsLiveWindow.mapViewToCanonical |
( |
PointF |
ptView | ) |
|
|
inline |
View coordinates are converted to timeline coordinates.
- Parameters
-
ptView | View coordinate point. |
- Returns
- Returns the converted timeline coordinate point PointF object.
- Since
- 1.1.0
- See also
- mapCanonicalToView
PointF com.meicam.sdk.NvsLiveWindow.mapViewToNormalized |
( |
PointF |
ptView | ) |
|
|
inline |
View coordinates are converted to normalized coordinates.
- Parameters
-
ptView | View coordinate point. |
- Returns
- Returns the converted normalized coordinates point PointF object.
- Since
- 1.1.0
- See also
- mapNormalizedToView
void com.meicam.sdk.NvsLiveWindow.setBackgroundColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b |
|
) |
| |
|
inline |
Sets the background color.
void com.meicam.sdk.NvsLiveWindow.setFillMode |
( |
int |
fillMode | ) |
|
|
inline |
Sets the fill mode of LiveWindow.
- Parameters
-
Bitmap com.meicam.sdk.NvsLiveWindow.takeScreenshot |
( |
| ) |
|
|
inline |
final int com.meicam.sdk.NvsLiveWindow.FILLMODE_PRESERVEASPECTCROP = 0 |
|
static |
The image is evenly filled and cropped if necessary (default mode)
.
final int com.meicam.sdk.NvsLiveWindow.FILLMODE_PRESERVEASPECTFIT = 1 |
|
static |
The image is evenly scaled to fit the window, no cropping.
final int com.meicam.sdk.NvsLiveWindow.FILLMODE_STRETCH = 2 |
|
static |
The image is scaled to fit the window.
long com.meicam.sdk.NvsLiveWindow.m_internalObject = 0 |
|
protected |
The documentation for this class was generated from the following file: