Exemplo n.º 1
0
 /// <summary>
 /// Do exit the application. in android,
 /// some machine can't exit normally when call ApplicationQuit() function.
 /// Call the DoExit instead.
 /// 退出应用。 在安卓 一些机器使用ApplicationQuit()无法正常退出,那么需要使用DoExit方法。
 /// </summary>
 public static void DoExit()
 {
     if (ms_OnOrbbecExitAppCallBack != null)
     {
         ms_OnOrbbecExitAppCallBack();
     }
     OrbbecWrapper.DoExit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Remove the full screen mode tip.After Android 4.4 many stupid platform will show a terrible tip
 /// to tell user this is a full screen mode. Click ok to close tip.The problem is it only can be close by mouse or touch!!
 /// Use this function to exit the mode(it also full screen too) can close tip.
 /// 移除全屏模式提示。在安卓4.4之前一些傻X平台会在应用第一次打开的时候弹出一个很烦人的提示告诉用户这是全屏模式
 /// 可以通过点击OK关闭。问题此消息只能通过鼠标或触屏关闭。可使用此函数关闭(关闭后仍然是全屏)提示框
 /// </summary>
 public static void RemoveFullScreenTip()
 {
     OrbbecWrapper.RemoveFullScreenTip();
 }
Exemplo n.º 3
0
 /// <summary>
 /// To send a back key press message to android system in order to close screen savers.
 /// 向安卓底层发送回退键消息。用于关闭屏幕保护避免退出时在一些系统出现黑屏(其实是屏幕保护程序没正常开启挂在那黑了)的问题
 /// </summary>
 public static void AndroidVirualBack()
 {
     OrbbecWrapper.AndroidVirualBack();
 }
Exemplo n.º 4
0
 public static bool HasOrbbecDevice()
 {
     return(OrbbecWrapper.HasOrbbecDevice());
 }