Class CameraThread

    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Thread

        java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
    • Field Summary

      • Fields inherited from class java.lang.Thread

        MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
    • Constructor Summary

      Constructors 
      Constructor Description
      CameraThread​(android.content.Context context, com.banuba.sdk.effect_player.EffectPlayer effectPlayer, CameraListener cameraListener, android.util.Size preferredPreviewSize, IFpsController fpsController)  
    • Constructor Detail

      • CameraThread

        public CameraThread​(@NonNull
                            android.content.Context context,
                            @NonNull
                            com.banuba.sdk.effect_player.EffectPlayer effectPlayer,
                            @NonNull
                            CameraListener cameraListener,
                            @NonNull
                            android.util.Size preferredPreviewSize,
                            @Nullable
                            IFpsController fpsController)
    • Method Detail

      • handleReleaseCamera

        public void handleReleaseCamera()
      • handleInitCameraMatrix

        public void handleInitCameraMatrix​(int w,
                                           int h)
      • handleRequestHighResPhoto

        public void handleRequestHighResPhoto()
      • handleOpenCamera

        public void handleOpenCamera​(Facing facing,
                                     java.lang.Float zoomFactor,
                                     int screenOrientation,
                                     boolean requireMirroring,
                                     boolean enableFlashlight)
      • handleChangeZoom

        public void handleChangeZoom​(float zoomFactor)
      • setFaceOrient

        public void setFaceOrient​(int angle)
      • setScreenOrientation

        public void setScreenOrientation​(int screenOrientation)
      • setPushOn

        public void setPushOn​(boolean on)
      • setFpsMode

        public void setFpsMode​(@NonNull
                               CameraFpsMode mode)
      • setRequireMirroring

        public void setRequireMirroring​(boolean requireMirroring)