hyphenate_SDK3.0 3.7.6.3
hyphenate java IM SDK
Public 成员函数 | 所有成员列表
com.hyphenate.media.EMCallSurfaceView类 参考
类 com.hyphenate.media.EMCallSurfaceView 继承关系图:

Public 成员函数

 EMCallSurfaceView (Context context)
 
 EMCallSurfaceView (Context context, AttributeSet attrs)
 
 EMCallSurfaceView (Context context, AttributeSet attrs, int defStyle)
 
void setCoverImage (Bitmap bitmap)
 
boolean hasCover ()
 

详细描述

Created by lzan13 on 2017/5/10.

视频通话UI显示视图, 这里将原来的 EMLocalSurfaceView 和 EMOppositeSurfaceView 合并,方便 App 层面切换通话视图

成员函数说明

◆ hasCover()

boolean com.hyphenate.media.EMCallSurfaceView.hasCover ( )

~\chinese 判断当前view是否设置了封面

返回

~\english Check whether this view set a cover.

返回

◆ setCoverImage()

void com.hyphenate.media.EMCallSurfaceView.setCoverImage ( Bitmap  bitmap)

~\chinese 设置封面图片. 如果view通过该方法设置了封面(bitmap),则在通过com.hyphenate.chat.EMConferenceManager#updateLocalSurfaceView(EMCallSurfaceView)com.hyphenate.chat.EMConferenceManager#updateRemoteSurfaceView(String, EMCallSurfaceView)设置该view时,该view会在stream到来前显示封面。

参数
bitmap

~\english Set a cover image. If set a cover by this method, when this view be set by com.hyphenate.chat.EMConferenceManager#updateLocalSurfaceView(EMCallSurfaceView) or com.hyphenate.chat.EMConferenceManager#updateRemoteSurfaceView(String, EMCallSurfaceView), the cover would show first until stream coming.

参数
bitmap

该类的文档由以下文件生成: