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
SDLPublishAppService

SDLPublishAppService Class Reference

Section Contents

Overview

Registers a service offered by this app on the module. Subsequent calls with the same service type will update the manifest for that service.

-initWithAppServiceManifest:

Convenience init.

Objective-C

- (nonnull instancetype)initWithAppServiceManifest:
    (nonnull SDLAppServiceManifest *)appServiceManifest;

Swift

init(appServiceManifest: SDLAppServiceManifest)

Parameters

appServiceManifest

The app service manifest

Return Value

A SDLPublishAppService object

appServiceManifest

The manifest of the service that wishes to be published. If already published, the updated manifest for this service.

SDLAppServiceManifest, Required

Objective-C

@property (nonatomic, strong) SDLAppServiceManifest *_Nonnull appServiceManifest;

Swift

var appServiceManifest: SDLAppServiceManifest { get set }
View on GitHub.com
Previous Section Next Section