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

SDLLockScreenViewController Class Reference

Section Contents

Overview

Undocumented

appIcon

The app’s icon. This will be set by the lock screen configuration.

Objective-C

@property (readwrite, copy, nonatomic, nullable) UIImage *appIcon;

Swift

@NSCopying var appIcon: UIImage? { get set }

vehicleIcon

The vehicle’s designated icon. This will be set by the lock screen manager when it is notified that a lock screen icon has been downloaded.

Objective-C

@property (readwrite, copy, nonatomic, nullable) UIImage *vehicleIcon;

Swift

@NSCopying var vehicleIcon: UIImage? { get set }

backgroundColor

The designated background color set in the lock screen configuration, or the default SDL gray-blue.

Objective-C

@property (readwrite, copy, nonatomic, nullable) UIColor *backgroundColor;

Swift

@NSCopying var backgroundColor: UIColor? { get set }

lockedLabelText

The locked label string. This will be set by the lock screen manager to inform the user about the dismissable state.

Objective-C

@property (readwrite, copy, nonatomic, nullable) NSString *lockedLabelText;

Swift

var lockedLabelText: String? { get set }

-addDismissGestureWithCallback:

Adds a swipe gesture to the lock screen view controller.

Objective-C

- (void)addDismissGestureWithCallback:
    (nonnull SwipeGestureCallbackBlock)swipeGestureCallback;

Swift

func addDismissGesture(callback swipeGestureCallback: @escaping SwipeGestureCallbackBlock)

-removeDismissGesture

Remove swipe gesture to the lock screen view controller.

Objective-C

- (void)removeDismissGesture;

Swift

func removeDismissGesture()
View on GitHub.com
Previous Section Next Section