Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
SDLLockScreenConfigurationDisplayMode

SDLLockScreenConfigurationDisplayMode Enumeration Reference

Section Contents

Overview

Describes when the lock screen should be shown.

SDLLockScreenConfigurationDisplayModeNever

The lock screen should never be shown. This should almost always mean that you will build your own lock screen.

Objective-C

SDLLockScreenConfigurationDisplayModeNever

Swift

case never = 0

SDLLockScreenConfigurationDisplayModeRequiredOnly

The lock screen should only be shown when it is required by the head unit.

Objective-C

SDLLockScreenConfigurationDisplayModeRequiredOnly

Swift

case requiredOnly = 1

SDLLockScreenConfigurationDisplayModeOptionalOrRequired

The lock screen should be shown when required by the head unit or when the head unit says that its optional, but not in other cases, such as before the user has interacted with your app on the head unit.

Objective-C

SDLLockScreenConfigurationDisplayModeOptionalOrRequired

Swift

case optionalOrRequired = 2

SDLLockScreenConfigurationDisplayModeAlways

The lock screen should always be shown after connection.

Objective-C

SDLLockScreenConfigurationDisplayModeAlways

Swift

case always = 3
View on GitHub.com
Previous Section Next Section