hyphenate_SDK3.0 3.7.6.3
hyphenate java IM SDK
|
Public Member Functions | |
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.
The video call UI displays the view, Here the original EMLocalSurfaceView and EMOppositeSurfaceView merger, to facilitate the realization of UI size switch
boolean com.hyphenate.media.EMCallSurfaceView.hasCover | ( | ) |
~\chinese 判断当前view是否设置了封面
~\english Check whether this view set a cover.
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 |