opt
This commit is contained in:
@@ -29,7 +29,7 @@ public class PushCameraLiveWindow extends RelativeLayout implements ICameraWindo
|
|||||||
private ImageView pushVideoClose;
|
private ImageView pushVideoClose;
|
||||||
|
|
||||||
// 弹窗状态监听
|
// 弹窗状态监听
|
||||||
private CameraLiveWindowStatusListener mWindowStatusListener;
|
// private CameraLiveWindowStatusListener mWindowStatusListener;
|
||||||
|
|
||||||
// 直播30秒自动关闭
|
// 直播30秒自动关闭
|
||||||
private static Handler handlerV2XEvent = new Handler();
|
private static Handler handlerV2XEvent = new Handler();
|
||||||
@@ -84,9 +84,9 @@ public class PushCameraLiveWindow extends RelativeLayout implements ICameraWindo
|
|||||||
}
|
}
|
||||||
|
|
||||||
countDownV2XEvent(entity);
|
countDownV2XEvent(entity);
|
||||||
if (mWindowStatusListener != null) {
|
// if (mWindowStatusListener != null) {
|
||||||
mWindowStatusListener.onViewShow();
|
// mWindowStatusListener.onViewShow();
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -103,9 +103,9 @@ public class PushCameraLiveWindow extends RelativeLayout implements ICameraWindo
|
|||||||
// MarkerUtils.resetMapZoom(16);
|
// MarkerUtils.resetMapZoom(16);
|
||||||
|
|
||||||
// 如果窗体处于展示的时候
|
// 如果窗体处于展示的时候
|
||||||
if (mWindowStatusListener != null) {
|
// if (mWindowStatusListener != null) {
|
||||||
mWindowStatusListener.onViewClose();
|
// mWindowStatusListener.onViewClose();
|
||||||
}
|
// }
|
||||||
|
|
||||||
// 停止倒计时
|
// 停止倒计时
|
||||||
if (handlerV2XEvent != null && runnableV2XEvent != null) {
|
if (handlerV2XEvent != null && runnableV2XEvent != null) {
|
||||||
@@ -120,10 +120,10 @@ public class PushCameraLiveWindow extends RelativeLayout implements ICameraWindo
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
// @Override
|
||||||
public void setWindowStatusListener(CameraLiveWindowStatusListener listener) {
|
// public void setWindowStatusListener(CameraLiveWindowStatusListener listener) {
|
||||||
this.mWindowStatusListener = listener;
|
// this.mWindowStatusListener = listener;
|
||||||
}
|
// }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 窗体倒计时 TODO
|
* 窗体倒计时 TODO
|
||||||
|
|||||||
Reference in New Issue
Block a user