类 EaseCallFloatWindow


  • public class EaseCallFloatWindow
    extends java.lang.Object
    • 构造器详细资料

      • EaseCallFloatWindow

        public EaseCallFloatWindow​(android.content.Context context)
    • 方法详细资料

      • getInstance

        public static EaseCallFloatWindow getInstance​(android.content.Context context)
      • setCallType

        public void setCallType​(EaseCallType callType)
      • setRtcEngine

        public void setRtcEngine​(io.agora.rtc2.RtcEngine rtcEngine)
      • setRtcEngine

        public void setRtcEngine​(android.content.Context context,
                                 io.agora.rtc2.RtcEngine rtcEngine)
      • 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 call dismiss()
        返回:
        Cost seconds in float window
      • getTotalCostSeconds

        public long getTotalCostSeconds()
        Should call the method before call dismiss()
        返回:
        Total cost seconds
      • 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 -
      • 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()