java.lang.Object
com.smartdevicelink.proxy.RPCStruct
com.smartdevicelink.proxy.RPCMessage
com.smartdevicelink.proxy.RPCResponse
public static final java.lang.String KEY_OFFSET
public static final java.lang.String KEY_LENGTH
public static final java.lang.String KEY_FILE_TYPE
public static final java.lang.String KEY_CRC
Constructs a new PublishAppServiceResponse object
public GetFileResponse()
public GetFileResponse(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
Constructs a new PublishAppServiceResponse object
public GetFileResponse(Boolean success,Result resultCode)
File type that is being sent in response
public com.smartdevicelink.proxy.rpc.GetFileResponse setFileType(FileType fileType)
File type that is being sent in response
public com.smartdevicelink.proxy.rpc.enums.FileType getFileType()
Optional offset in bytes for resuming partial data chunks minvalue="0" maxvalue="2000000000"
public com.smartdevicelink.proxy.rpc.GetFileResponse setOffset(Integer offset)
Optional offset in bytes for resuming partial data chunks minvalue="0" maxvalue="2000000000"
public java.lang.Integer getOffset()
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 minvalue="0" maxvalue="2000000000"
public com.smartdevicelink.proxy.rpc.GetFileResponse setLength(Integer length)
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 minvalue="0" maxvalue="2000000000"
public java.lang.Integer getLength()
Additional CRC32 checksum to protect data integrity up to 512 Mbits minvalue="0" maxvalue="4294967295"
public com.smartdevicelink.proxy.rpc.GetFileResponse setCRC(Integer crc)
Additional CRC32 checksum to protect data integrity up to 512 Mbits minvalue="0" maxvalue="4294967295"
public java.lang.Integer getCRC()
From Class | Methods |
---|---|
com.smartdevicelink.proxy.RPCResponse | getCorrelationID, setCorrelationID, getSuccess, setSuccess, getResultCode, setResultCode, getInfo, setInfo |
com.smartdevicelink.proxy.RPCMessage | getFunctionID, getFunctionName, setFunctionName, getMessageType, setParameters, getParameters, getObject, getString, getInteger, getFloat, getDouble, getBoolean, getLong |
com.smartdevicelink.proxy.RPCStruct | getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode |
java.lang.Object | getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |