Android(Java)[v1.7.5.0]
|
PANO引擎绘制视图。 更多...
Public 成员函数 | |
RtcView (Context context) | |
RtcView (Context context, AttributeSet attrs) | |
void | init (RendererEvents rendererEvents) |
初始化RtcView,设置RendererEvents回调事件。 更多... | |
void | onFrame (VideoFrame frame) |
void | setScalingType (ScalingType type) |
控制如何调整视图内容大小或移动视图内容以匹配此RtcView的大小。 更多... | |
void | setMirror (boolean mirror) |
设置RtcView内容是否镜像显示。 更多... | |
void | setScalingRatioWithFocus (float ratio, int x, int y) |
void | setScalingRatio (ScalingRatio ratio) |
void | setMovingDistance (int dx, int dy) |
ScalingType | getScalingType () |
返回RtcView当前的ScaleType。 更多... | |
boolean | getMirror () |
返回RtcView的mirror状态。 更多... | |
void | release () |
释放RtcView占用的资源。在RtcView从附着窗口移除时,sdk内部会自动释放相关资源,客户端无需主动调用该方法。 其他情况下按需调用该方法。 | |
boolean | onTouchEvent (MotionEvent event) |
void | setOnTouchListener (View.OnTouchListener listener) |
void | setRtcTouchListener (View.OnTouchListener listener) |
Protected 成员函数 | |
void | onAttachedToWindow () |
void | onDetachedFromWindow () |
PANO引擎绘制视图。
需要将此视图嵌入到用户的 activity layout xml 中。
|
inline |
|
inline |
返回RtcView当前的ScaleType。
|
inline |
初始化RtcView,设置RendererEvents回调事件。
rendererEvents | render回调事件。 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
控制如何调整视图内容大小或移动视图内容以匹配此RtcView的大小。
type | 所需的缩放模式。 |