hyphenate_SDK3.0 3.7.6.3
hyphenate java IM SDK
Public Member Functions | List of all members
com.hyphenate.media.EMCallSurfaceView Class Reference
Inheritance diagram for com.hyphenate.media.EMCallSurfaceView:

Public Member Functions

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

Detailed Description

Created by lzan13 on 2017/5/10.

The video call UI displays the view, Here the original EMLocalSurfaceView and EMOppositeSurfaceView merger, to facilitate the realization of UI size switch

Member Function Documentation

◆ hasCover()

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

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

Returns

~\english Check whether this view set a cover.

Returns

◆ 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到来前显示封面。

Parameters
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.

Parameters
bitmap

The documentation for this class was generated from the following file: