Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
Documentation
SDLReleaseInteriorVehicleDataModule

SDLReleaseInteriorVehicleDataModule Class Reference

Section Contents

Overview

Releases a controlled remote control module so others can take control

@since 6.0

-initWithModuleType:moduleId:

Convenience init to release a controlled module

Objective-C

- (nonnull instancetype)initWithModuleType:(nonnull SDLModuleType)moduleType
                                  moduleId:(nonnull NSString *)moduleId;

Swift

init(moduleType: SDLModuleType, moduleId: String)

Parameters

moduleType

The module type that the app requests to control.

moduleId

Id of a module, published by System Capability.

Return Value

An SDLReleaseInteriorVehicleDataModule object

moduleType

The module type that the app requests to control.

Required

Objective-C

@property (nonatomic, strong) SDLModuleType _Nonnull moduleType;

Swift

var moduleType: SDLModuleType { get set }

moduleId

Id of a module, published by System Capability.

Optional

Objective-C

@property (nonatomic, strong, nullable) NSString *moduleId;

Swift

var moduleId: String? { get set }
View on GitHub.com
Previous Section Next Section