UpdateControlStateRequiredException

class UpdateControlStateRequiredException : OemSystemUpdateException


Thrown when an API is called that requires UnifiedUpdateControl to be active, but it is not.

Summary

Public constructors

UpdateControlStateRequiredException(
    currentState: String,
    cause: Throwable?
)

Public properties

String

The current UpdateControlState of the device.

Inherited properties

From kotlin.Throwable

Public constructors

UpdateControlStateRequiredException

UpdateControlStateRequiredException(
    currentState: String,
    cause: Throwable? = null
)
Parameters
currentState: String

The current UpdateControlState of the device.

cause: Throwable? = null

The underlying cause of the exception.

Public properties

currentState

val currentStateString

The current UpdateControlState of the device.