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
SDLOnSystemRequest

SDLOnSystemRequest Class Reference

Section Contents

Overview

An asynchronous request from the system for specific data from the device or the cloud or response to a request from the device or cloud Binary data can be included in hybrid part of message for some requests (such as Authentication request responses)

requestType

The type of system request.

Objective-C

@property (nonatomic, strong) SDLRequestType _Nonnull requestType;

Swift

var requestType: SDLRequestType { get set }

requestSubType

A request subType used when the requestType is OEM_SPECIFIC.

Optional, Max length 255

Objective-C

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

Swift

var requestSubType: String? { get set }

url

Optional URL for HTTP requests. If blank, the binary data shall be forwarded to the app. If not blank, the binary data shall be forwarded to the url with a provided timeout in seconds.

Objective-C

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

Swift

var url: String? { get set }

timeout

Optional timeout for HTTP requests Required if a URL is provided

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLInt> *timeout;

Swift

var timeout: (NSNumber & SDLInt)? { get set }

fileType

Optional file type (meant for HTTP file requests).

Objective-C

@property (nonatomic, strong, nullable) SDLFileType fileType;

Swift

var fileType: SDLFileType? { get set }

offset

Optional offset in bytes for resuming partial data chunks

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLUInt> *offset;

Swift

var offset: (NSNumber & SDLUInt)? { get set }

length

Optional length in bytes for resuming partial data chunks

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLUInt> *length;

Swift

var length: (NSNumber & SDLUInt)? { get set }
View on GitHub.com
Previous Section Next Section