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 }