Enum Class CameraController.RecordingStopReason
java.lang.Object
java.lang.Enum<CameraController.RecordingStopReason>
com.navmii.android.dashcamsdk.camera.CameraController.RecordingStopReason
- All Implemented Interfaces:
Serializable
,Comparable<CameraController.RecordingStopReason>
,java.lang.constant.Constable
- Enclosing interface:
- CameraController
public static enum CameraController.RecordingStopReason
extends Enum<CameraController.RecordingStopReason>
A reason for stopping video recording.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUsed when recording has been restarted due to changes in configuration (in particular, when microphone is enabled or disabled viaCameraController.Parameters.Builder.setMicrophoneMute(boolean)
).Used when an internal error has occurred.Used when there is no space left on the disk to continue recording.Used when the recording exceeded the fragment duration timeout.Used whenCameraController.stopRecording()
method has been called. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CameraController.RecordingStopReason[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
USER_INITIATED
Used whenCameraController.stopRecording()
method has been called. -
RECORDING_FRAGMENT_TIMEOUT
Used when the recording exceeded the fragment duration timeout.- See Also:
-
CONFIGURATION_CHANGED
Used when recording has been restarted due to changes in configuration (in particular, when microphone is enabled or disabled viaCameraController.Parameters.Builder.setMicrophoneMute(boolean)
). -
NO_SPACE_LEFT
Used when there is no space left on the disk to continue recording. -
INTERNAL_ERROR
Used when an internal error has occurred.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-