summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLPublishAppServiceResponse.h
blob: bf58d6a1032f65de80476b39e45dbbef16b5da95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//
//  SDLPublishAppServiceResponse.h
//  SmartDeviceLink
//
//  Created by Nicole on 2/5/19.
//  Copyright © 2019 smartdevicelink. All rights reserved.
//

#import "SDLRPCResponse.h"

@class SDLAppServiceRecord;

NS_ASSUME_NONNULL_BEGIN

/*
 *  Response to the request to register a service offered by this app on the module.
 */
@interface SDLPublishAppServiceResponse : SDLRPCResponse

/**
 *  Convenience init.
 *
 *  @param appServiceRecord     If the request was successful, this object will be the current status of the service record for the published service. This will include the Core supplied service ID.
 *  @return                     A SDLPublishAppServiceResponse object
 */
- (instancetype)initWithAppServiceRecord:(SDLAppServiceRecord *)appServiceRecord;

/**
 *  If the request was successful, this object will be the current status of the service record for the published service. This will include the Core supplied service ID.
 *
 *  SDLAppServiceRecord, Optional
 */
@property (nullable, strong, nonatomic) SDLAppServiceRecord *appServiceRecord;


@end

NS_ASSUME_NONNULL_END