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
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
iOS Documentation
SDLRPCResponse

SDLRPCResponse Class Reference

Section Contents

Overview

Superclass of RPC responses

correlationID

The correlation id of the corresponding SDLRPCRequest.

Objective-C

@property (nonatomic, strong) NSNumber<SDLInt> *_Nonnull correlationID;

Swift

var correlationID: NSNumber & SDLInt { get set }

success

Whether or not the SDLRPCRequest was successful.

Objective-C

@property (nonatomic, strong) NSNumber<SDLBool> *_Nonnull success;

Swift

var success: NSNumber & SDLBool { get set }

resultCode

The result of the SDLRPCRequest. If the request failed, the result code contains the failure reason.

Objective-C

@property (nonatomic, strong) SDLResult _Nonnull resultCode;

Swift

var resultCode: SDLResult { get set }

info

More detailed success or error message.

Objective-C

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

Swift

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