View Source GoogleApi.AndroidManagement.V1.Model.ScreenTimeoutSettings (google_api_android_management v0.56.0)

Controls the screen timeout settings.

Attributes

  • screenTimeout (type: String.t, default: nil) - Optional. Controls the screen timeout duration. The screen timeout duration must be greater than 0, otherwise it is rejected. Additionally, it should not be greater than maximumTimeToLock, otherwise the screen timeout is set to maximumTimeToLock and a NonComplianceDetail with INVALID_VALUE reason and SCREEN_TIMEOUT_GREATER_THAN_MAXIMUM_TIME_TO_LOCK specific reason is reported. If the screen timeout is less than a certain lower bound, it is set to the lower bound. The lower bound may vary across devices. If this is set, screenTimeoutMode must be SCREEN_TIMEOUT_ENFORCED. Supported on Android 9 and above on fully managed devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9. Supported on work profiles on company-owned devices on Android 15 and above.
  • screenTimeoutMode (type: String.t, default: nil) - Optional. Controls whether the user is allowed to configure the screen timeout.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AndroidManagement.V1.Model.ScreenTimeoutSettings{
  screenTimeout: String.t() | nil,
  screenTimeoutMode: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.