Response to GetFiles
@since RPC 5.1
Convenience init for all parameters.
- (nonnull instancetype)initWithOffset:(UInt32)offset
length:(UInt32)length
fileType:(nullable SDLFileType)fileType
crc:(UInt32)crc;
init(offset: UInt32, length: UInt32, fileType: SDLFileType?, crc: UInt32)
Optional offset in bytes for resuming partial data chunks
Optional length in bytes for resuming partial data chunks. If offset is set to 0, then length is the total length of the file to be downloaded
File type that is being sent in response
Additional CRC32 checksum to protect data integrity up to 512 Mbits
A SDLGetFileResponse object
Optional offset in bytes for resuming partial data chunks.
Integer, Optional, minvalue=“0” maxvalue=“2000000000”
@property (nonatomic, strong, nullable) NSNumber<SDLUInt> *offset;
var offset: (NSNumber & SDLUInt)? { get set }
Optional length in bytes for resuming partial data chunks. If offset is set to 0, then length is the total length of the file to be downloaded.
Integer, Optional, minvalue=“0” maxvalue=“2000000000”
@property (nonatomic, strong, nullable) NSNumber<SDLUInt> *length;
var length: (NSNumber & SDLUInt)? { get set }
File type that is being sent in response.
SDLFileType, Optional
@property (nonatomic, strong, nullable) SDLFileType fileType;
var fileType: SDLFileType? { get set }
Additional CRC32 checksum to protect data integrity up to 512 Mbits.
Integer, Optional, minvalue=“0” maxvalue=“4294967295”
@property (nonatomic, strong, nullable) NSNumber<SDLUInt> *crc;
var crc: (NSNumber & SDLUInt)? { get set }