Class SwCameraLibConfiguration

java.lang.Object
com.streamwide.smartms.lib.camera.configuration.SwCameraLibConfiguration

public class SwCameraLibConfiguration extends Object
  • Field Details

    • PREVIEW

      public static final int PREVIEW
      See Also:
    • CLOSE

      public static final int CLOSE
      See Also:
    • CONTINUE

      public static final int CONTINUE
      See Also:
    • MEDIA_QUALITY_AUTO

      public static final int MEDIA_QUALITY_AUTO
      See Also:
    • MEDIA_QUALITY_LOWEST

      public static final int MEDIA_QUALITY_LOWEST
      See Also:
    • MEDIA_QUALITY_LOW

      public static final int MEDIA_QUALITY_LOW
      See Also:
    • MEDIA_QUALITY_MEDIUM

      public static final int MEDIA_QUALITY_MEDIUM
      See Also:
    • MEDIA_QUALITY_HIGH

      public static final int MEDIA_QUALITY_HIGH
      See Also:
    • MEDIA_QUALITY_HIGHEST

      public static final int MEDIA_QUALITY_HIGHEST
      See Also:
    • MEDIA_QUALITY_UNSPECIFIED

      public static final int MEDIA_QUALITY_UNSPECIFIED
      See Also:
    • CAMERA_FACE_FRONT

      public static final int CAMERA_FACE_FRONT
      The camera device faces the same direction as the device's screen.
      See Also:
    • CAMERA_FACE_REAR

      public static final int CAMERA_FACE_REAR
      The camera device faces the opposite direction as the device's screen.
      See Also:
    • MEDIA_ACTION_PHOTO

      public static final int MEDIA_ACTION_PHOTO
      See Also:
    • MEDIA_ACTION_VIDEO

      public static final int MEDIA_ACTION_VIDEO
      See Also:
    • MEDIA_ACTION_BOTH

      public static final int MEDIA_ACTION_BOTH
      See Also:
    • SENSOR_POSITION_UP

      public static final int SENSOR_POSITION_UP
      See Also:
    • SENSOR_POSITION_UP_SIDE_DOWN

      public static final int SENSOR_POSITION_UP_SIDE_DOWN
      See Also:
    • SENSOR_POSITION_LEFT

      public static final int SENSOR_POSITION_LEFT
      See Also:
    • SENSOR_POSITION_RIGHT

      public static final int SENSOR_POSITION_RIGHT
      See Also:
    • SENSOR_POSITION_UNSPECIFIED

      public static final int SENSOR_POSITION_UNSPECIFIED
      See Also:
    • FLASH_MODE_OFF

      public static final int FLASH_MODE_OFF
      Flash will not be fired.
      See Also:
    • FLASH_MODE_ON

      public static final int FLASH_MODE_ON
      Flash will always be fired during snapshot.
      See Also:
    • FLASH_MODE_AUTO

      public static final int FLASH_MODE_AUTO
      Flash will be fired automatically when required.
      See Also:
    • ORIENTATION_PORTRAIT

      public static final int ORIENTATION_PORTRAIT
      See Also:
    • ORIENTATION_LANDSCAPE

      public static final int ORIENTATION_LANDSCAPE
      See Also:
    • DISPLAY_BUTTON_ZOOM_ACTION

      public static final int DISPLAY_BUTTON_ZOOM_ACTION
      See Also:
    • DISPLAY_SEEKBAR_ZOOM_ACTION

      public static final int DISPLAY_SEEKBAR_ZOOM_ACTION
      See Also:
    • ZOOM_DISPLAY_MODE_IN

      public static final int ZOOM_DISPLAY_MODE_IN
      See Also:
    • ZOOM_DISPLAY_MODE_OUT

      public static final int ZOOM_DISPLAY_MODE_OUT
      See Also:
  • Method Details

    • getActivity

      @Nullable public android.app.Activity getActivity()
    • getFragment

      @Nullable public androidx.fragment.app.Fragment getFragment()
    • getRequestCode

      public int getRequestCode()
    • getMediaAction

      public int getMediaAction()
    • getMediaQuality

      public int getMediaQuality()
    • getCameraFace

      public int getCameraFace()
    • getMediaResultBehaviour

      public int getMediaResultBehaviour()
    • getOutPutDirectoryPath

      @NonNull public String getOutPutDirectoryPath()
    • getMediaNamePattern

      @NonNull public String getMediaNamePattern()
    • getVideoDuration

      public int getVideoDuration()
    • getVideoFileSize

      public long getVideoFileSize()
    • getMinimumVideoDuration

      public int getMinimumVideoDuration()
    • getFlashMode

      public int getFlashMode()
    • getZoomDisplayMode

      public int getZoomDisplayMode()
    • getZoomMode

      public int getZoomMode()
    • setActivity

      public void setActivity(@NonNull android.app.Activity activity)
    • setFragment

      public void setFragment(@NonNull androidx.fragment.app.Fragment fragment)
    • setRequestCode

      public void setRequestCode(int requestCode)