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)
The type of system request.
@property (nonatomic, strong) SDLRequestType _Nonnull requestType;
var requestType: SDLRequestType { get set }
A request subType used when the requestType
is OEM_SPECIFIC
.
Optional, Max length 255
@property (nonatomic, strong, nullable) NSString *requestSubType;
var requestSubType: String? { get set }
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.
@property (nonatomic, strong, nullable) NSString *url;
var url: String? { get set }
Optional timeout for HTTP requests Required if a URL is provided
@property (nonatomic, strong, nullable) NSNumber<SDLInt> *timeout;
var timeout: (NSNumber & SDLInt)? { get set }
Optional file type (meant for HTTP file requests).
@property (nonatomic, strong, nullable) SDLFileType fileType;
var fileType: SDLFileType? { get set }
Optional offset in bytes for resuming partial data chunks
@property (nonatomic, strong, nullable) NSNumber<SDLUInt> *offset;
var offset: (NSNumber & SDLUInt)? { get set }
Optional length in bytes for resuming partial data chunks
@property (nonatomic, strong, nullable) NSNumber<SDLUInt> *length;
var length: (NSNumber & SDLUInt)? { get set }