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

SDLConfiguration Class Reference

Section Contents

Overview

Undocumented

lifecycleConfig

The lifecycle configuration.

Objective-C

@property (readonly, copy, nonatomic)
    SDLLifecycleConfiguration *_Nonnull lifecycleConfig;

Swift

@NSCopying var lifecycleConfig: SDLLifecycleConfiguration { get }

lockScreenConfig

The lock screen configuration.

Objective-C

@property (readonly, copy, nonatomic)
    SDLLockScreenConfiguration *_Nonnull lockScreenConfig;

Swift

@NSCopying var lockScreenConfig: SDLLockScreenConfiguration { get }

loggingConfig

The log configuration.

Objective-C

@property (readonly, copy, nonatomic)
    SDLLogConfiguration *_Nonnull loggingConfig;

Swift

@NSCopying var loggingConfig: SDLLogConfiguration { get }

streamingMediaConfig

The streaming media configuration.

Objective-C

@property (readonly, copy, nonatomic)
    SDLStreamingMediaConfiguration *_Nonnull streamingMediaConfig;

Swift

@NSCopying var streamingMediaConfig: SDLStreamingMediaConfiguration { get }

fileManagerConfig

The file manager configuration.

Objective-C

@property (readonly, copy, nonatomic)
    SDLFileManagerConfiguration *_Nonnull fileManagerConfig;

Swift

@NSCopying var fileManagerConfig: SDLFileManagerConfiguration { get }

-initWithLifecycle:lockScreen:logging:

Creates a new configuration to be passed to the SDLManager with custom lifecycle, lock screen and logging configurations.

Objective-C

- (nonnull instancetype)
initWithLifecycle:(nonnull SDLLifecycleConfiguration *)lifecycleConfig
       lockScreen:(nullable SDLLockScreenConfiguration *)lockScreenConfig
          logging:(nullable SDLLogConfiguration *)logConfig;

Swift

init(lifecycle lifecycleConfig: SDLLifecycleConfiguration, lockScreen lockScreenConfig: SDLLockScreenConfiguration?, logging logConfig: SDLLogConfiguration?)

Parameters

lifecycleConfig

The lifecycle configuration to be used.

lockScreenConfig

The lockscreen configuration to be used. If nil, the enabledConfiguration will be used.

logConfig

The logging configuration to be used. If nil, the defaultConfiguration will be used.

Return Value

The configuration

-initWithLifecycle:lockScreen:logging:fileManager:

Creates a new configuration to be passed to the SDLManager with custom lifecycle, lock screen, logging and file manager configurations.

Objective-C

- (nonnull instancetype)
initWithLifecycle:(nonnull SDLLifecycleConfiguration *)lifecycleConfig
       lockScreen:(nullable SDLLockScreenConfiguration *)lockScreenConfig
          logging:(nullable SDLLogConfiguration *)logConfig
      fileManager:(nullable SDLFileManagerConfiguration *)fileManagerConfig;

Swift

init(lifecycle lifecycleConfig: SDLLifecycleConfiguration, lockScreen lockScreenConfig: SDLLockScreenConfiguration?, logging logConfig: SDLLogConfiguration?, fileManager fileManagerConfig: SDLFileManagerConfiguration?)

Parameters

lifecycleConfig

The lifecycle configuration to be used.

lockScreenConfig

The lockscreen configuration to be used. If nil, the enabledConfiguration will be used.

logConfig

The logging configuration to be used. If nil, the defaultConfiguration will be used.

fileManagerConfig

The file manager configuration to be used or defaultConfiguration if nil.

Return Value

The configuration

+configurationWithLifecycle:lockScreen:logging:

Creates a new configuration to be passed to the SDLManager with custom lifecycle, lock screen and logging configurations.

Objective-C

+ (nonnull instancetype)
configurationWithLifecycle:(nonnull SDLLifecycleConfiguration *)lifecycleConfig
                lockScreen:
                    (nullable SDLLockScreenConfiguration *)lockScreenConfig
                   logging:(nullable SDLLogConfiguration *)logConfig;

Parameters

lifecycleConfig

The lifecycle configuration to be used.

lockScreenConfig

The lockscreen configuration to be used. If nil, the enabledConfiguration will be used.

logConfig

The logging configuration to be used. If nil, the defaultConfiguration will be used.

Return Value

The configuration

+configurationWithLifecycle:lockScreen:logging:fileManager:

Creates a new configuration to be passed to the SDLManager with custom lifecycle, lock screen, logging and file manager configurations.

Objective-C

+ (nonnull instancetype)
configurationWithLifecycle:(nonnull SDLLifecycleConfiguration *)lifecycleConfig
                lockScreen:
                    (nullable SDLLockScreenConfiguration *)lockScreenConfig
                   logging:(nullable SDLLogConfiguration *)logConfig
               fileManager:
                   (nullable SDLFileManagerConfiguration *)fileManagerConfig;

Parameters

lifecycleConfig

The lifecycle configuration to be used.

lockScreenConfig

The lockscreen configuration to be used. If nil, the enabledConfiguration will be used.

logConfig

The logging configuration to be used. If nil, the defaultConfiguration will be used.

fileManagerConfig

The file manager configuration to be used or defaultConfiguration if nil.

Return Value

The configuration

-initWithLifecycle:lockScreen:logging:streamingMedia:

Creates a new configuration to be passed to the SDLManager with custom lifecycle, lock screen, logging and streaming media configurations.

Objective-C

- (nonnull instancetype)
initWithLifecycle:(nonnull SDLLifecycleConfiguration *)lifecycleConfig
       lockScreen:(nullable SDLLockScreenConfiguration *)lockScreenConfig
          logging:(nullable SDLLogConfiguration *)logConfig
   streamingMedia:
       (nullable SDLStreamingMediaConfiguration *)streamingMediaConfig;

Swift

init(lifecycle lifecycleConfig: SDLLifecycleConfiguration, lockScreen lockScreenConfig: SDLLockScreenConfiguration?, logging logConfig: SDLLogConfiguration?, streamingMedia streamingMediaConfig: SDLStreamingMediaConfiguration?)

Parameters

lifecycleConfig

The lifecycle configuration to be used.

lockScreenConfig

The lockscreen configuration to be used. If nil, the enabledConfiguration will be used.

logConfig

The logging configuration to be used. If nil, the defaultConfiguration will be used.

streamingMediaConfig

The streaming media configuration to be used or nil if not used.

Return Value

The configuration

-initWithLifecycle:lockScreen:logging:streamingMedia:fileManager:

Creates a new configuration to be passed to the SDLManager with custom lifecycle, lock screen, logging, streaming media and file manager configurations.

Objective-C

- (nonnull instancetype)
initWithLifecycle:(nonnull SDLLifecycleConfiguration *)lifecycleConfig
       lockScreen:(nullable SDLLockScreenConfiguration *)lockScreenConfig
          logging:(nullable SDLLogConfiguration *)logConfig
   streamingMedia:
       (nullable SDLStreamingMediaConfiguration *)streamingMediaConfig
      fileManager:(nullable SDLFileManagerConfiguration *)fileManagerConfig;

Swift

init(lifecycle lifecycleConfig: SDLLifecycleConfiguration, lockScreen lockScreenConfig: SDLLockScreenConfiguration?, logging logConfig: SDLLogConfiguration?, streamingMedia streamingMediaConfig: SDLStreamingMediaConfiguration?, fileManager fileManagerConfig: SDLFileManagerConfiguration?)

Parameters

lifecycleConfig

The lifecycle configuration to be used.

lockScreenConfig

The lockscreen configuration to be used. If nil, the enabledConfiguration will be used.

logConfig

The logging configuration to be used. If nil, the defaultConfiguration will be used.

streamingMediaConfig

The streaming media configuration to be used or nil if not used.

fileManagerConfig

The file manager configuration to be used or defaultConfiguration if nil.

Return Value

The configuration

+configurationWithLifecycle:lockScreen:logging:streamingMedia:

Creates a new configuration to be passed to the SDLManager with custom lifecycle, lock screen, logging and streaming media configurations.

Objective-C

+ (nonnull instancetype)
configurationWithLifecycle:(nonnull SDLLifecycleConfiguration *)lifecycleConfig
                lockScreen:
                    (nullable SDLLockScreenConfiguration *)lockScreenConfig
                   logging:(nullable SDLLogConfiguration *)logConfig
            streamingMedia:
                (nullable SDLStreamingMediaConfiguration *)streamingMediaConfig;

Parameters

lifecycleConfig

The lifecycle configuration to be used.

lockScreenConfig

The lockscreen configuration to be used. If nil, the enabledConfiguration will be used.

logConfig

The logging configuration to be used. If nil, the defaultConfiguration will be used.

streamingMediaConfig

The streaming media configuration to be used or nil if not used.

Return Value

The configuration

+configurationWithLifecycle:lockScreen:logging:streamingMedia:fileManager:

Creates a new configuration to be passed to the SDLManager with custom lifecycle, lock screen, logging, streaming media and file manager configurations.

Objective-C

+ (nonnull instancetype)
configurationWithLifecycle:(nonnull SDLLifecycleConfiguration *)lifecycleConfig
                lockScreen:
                    (nullable SDLLockScreenConfiguration *)lockScreenConfig
                   logging:(nullable SDLLogConfiguration *)logConfig
            streamingMedia:
                (nullable SDLStreamingMediaConfiguration *)streamingMediaConfig
               fileManager:
                   (nullable SDLFileManagerConfiguration *)fileManagerConfig;

Parameters

lifecycleConfig

The lifecycle configuration to be used.

lockScreenConfig

The lockscreen configuration to be used. If nil, the enabledConfiguration will be used.

logConfig

The logging configuration to be used. If nil, the defaultConfiguration will be used.

streamingMediaConfig

The streaming media configuration to be used or nil if not used.

fileManagerConfig

The file manager configuration to be used or defaultConfiguration if nil.

Return Value

The configuration

View on GitHub.com
Previous Section Next Section