类 EaseCallFloatWindow
- java.lang.Object
-
- io.agora.chat.callkit.general.EaseCallFloatWindow
-
public class EaseCallFloatWindow extends java.lang.Object
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classEaseCallFloatWindow.ConferenceInfoUse to hold the conference infostatic classEaseCallFloatWindow.SingleCallInfo
-
构造器概要
构造器 构造器 说明 EaseCallFloatWindow(android.content.Context context)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddismiss()stop floating windowEaseCallMemberViewgetCallMemberView()EaseCallTypegetCallType()EaseCallFloatWindow.ConferenceInfogetConferenceInfo()java.lang.StringgetCurrentInstance()longgetFloatCostSeconds()Should call the method before calldismiss()static EaseCallFloatWindowgetInstance()static EaseCallFloatWindowgetInstance(android.content.Context context)EaseCallFloatWindow.SingleCallInfogetSingleCallInfo()longgetTotalCostSeconds()Should call the method before calldismiss()intgetUid()For the single call, only the remote uid is returnedbooleanisRemoteVideoMuted()booleanisShowing()voidresetCurrentInstance()voidsetCallType(EaseCallType callType)voidsetCameraDirection(boolean isFront, boolean changeFlag)voidsetConferenceInfo(EaseCallFloatWindow.ConferenceInfo info)voidsetCostSeconds(long seconds)voidsetRemoteVideoMuted(boolean remoteVideoMuted)voidsetRtcEngine(android.content.Context context, io.agora.rtc2.RtcEngine rtcEngine)voidsetRtcEngine(io.agora.rtc2.RtcEngine rtcEngine)voidshow()add float windowvoidupdate(boolean isSelf, java.lang.String remoteUrl, int curUid, int remoteUid, boolean surface)Update the sing call statevoidupdate(EaseCallMemberView view)Update conference call state
-
-
-
方法详细资料
-
getInstance
public static EaseCallFloatWindow getInstance(android.content.Context context)
-
getInstance
public static EaseCallFloatWindow getInstance()
-
setCallType
public void setCallType(EaseCallType callType)
-
getCallMemberView
public EaseCallMemberView getCallMemberView()
-
setRtcEngine
public void setRtcEngine(io.agora.rtc2.RtcEngine rtcEngine)
-
setRtcEngine
public void setRtcEngine(android.content.Context context, io.agora.rtc2.RtcEngine rtcEngine)
-
getCallType
public EaseCallType getCallType()
-
setCostSeconds
public void setCostSeconds(long seconds)
-
isRemoteVideoMuted
public boolean isRemoteVideoMuted()
-
setRemoteVideoMuted
public void setRemoteVideoMuted(boolean remoteVideoMuted)
-
show
public void show()
add float window
-
getFloatCostSeconds
public long getFloatCostSeconds()
Should call the method before calldismiss()- 返回:
- Cost seconds in float window
-
getTotalCostSeconds
public long getTotalCostSeconds()
Should call the method before calldismiss()- 返回:
- Total cost seconds
-
setConferenceInfo
public void setConferenceInfo(EaseCallFloatWindow.ConferenceInfo info)
-
getConferenceInfo
public EaseCallFloatWindow.ConferenceInfo getConferenceInfo()
-
update
public void update(EaseCallMemberView view)
Update conference call state- 参数:
view-
-
update
public void update(boolean isSelf, java.lang.String remoteUrl, int curUid, int remoteUid, boolean surface)Update the sing call state- 参数:
isSelf-curUid-remoteUid-surface-
-
getSingleCallInfo
public EaseCallFloatWindow.SingleCallInfo getSingleCallInfo()
-
setCameraDirection
public void setCameraDirection(boolean isFront, boolean changeFlag)
-
isShowing
public boolean isShowing()
-
getUid
public int getUid()
For the single call, only the remote uid is returned- 返回:
-
dismiss
public void dismiss()
stop floating window
-
resetCurrentInstance
public void resetCurrentInstance()
-
getCurrentInstance
public java.lang.String getCurrentInstance()
-
-