Interface CameraSwitchCallBack

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void onCameraSwitchDone(boolean isFrontCamera) 摄像头切换成功
      abstract void onCameraSwitchError(String errorDescription) 摄像头切换失败
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onCameraSwitchDone

         abstract void onCameraSwitchDone(boolean isFrontCamera)

        摄像头切换成功

        Parameters:
        isFrontCamera - 是否为前置摄像头
      • onCameraSwitchError

         abstract void onCameraSwitchError(String errorDescription)

        摄像头切换失败