public class CallSurfaceView
extends VideoViewWrapper
| Constructor and Description |
|---|
CallSurfaceView(android.content.Context context) |
CallSurfaceView(android.content.Context context,
android.util.AttributeSet attrs) |
CallSurfaceView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasCover()
~\chinese
判断当前view是否设置了封面
|
void |
setCoverImage(android.graphics.Bitmap bitmap)
~\chinese
设置封面图片.
|
public CallSurfaceView(android.content.Context context)
public CallSurfaceView(android.content.Context context,
android.util.AttributeSet attrs)
public CallSurfaceView(android.content.Context context,
android.util.AttributeSet attrs,
int defStyleAttr)
public void setCoverImage(android.graphics.Bitmap bitmap)
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 - public boolean hasCover()