FileType
Number
Number
String
RequestType
Number
String
OnSystemRequest
OnSystemRequest
OnSystemRequest
OnSystemRequest
OnSystemRequest
OnSystemRequest
OnSystemRequest
FileType
Get the FileType
Kind: Instance method of OnSystemRequest
Returns: FileType
- the KEY_FILE_TYPE value
Number
Get the Length
Kind: Instance method of OnSystemRequest
Returns: Number
- the KEY_LENGTH value
Number
Get the Offset
Kind: Instance method of OnSystemRequest
Returns: Number
- the KEY_OFFSET value
String
Get the RequestSubType
Kind: Instance method of OnSystemRequest
Returns: String
- the KEY_REQUEST_SUB_TYPE value
RequestType
Get the RequestType
Kind: Instance method of OnSystemRequest
Returns: RequestType
- the KEY_REQUEST_TYPE value
Number
Get the Timeout
Kind: Instance method of OnSystemRequest
Returns: Number
- the KEY_TIMEOUT value
String
Get the Url
Kind: Instance method of OnSystemRequest
Returns: String
- the KEY_URL value
OnSystemRequest
Set the FileType
Kind: Instance method of OnSystemRequest
Returns: OnSystemRequest
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
type | FileType |
Optional file type (meant for HTTP file requests). - The desired FileType. |
OnSystemRequest
Set the Length
Kind: Instance method of OnSystemRequest
Returns: OnSystemRequest
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
length | Number |
Optional length in bytes for resuming partial data chunks - The desired Length. {'num_min_value': 0, 'num_max_value': 100000000000} |
OnSystemRequest
Set the Offset
Kind: Instance method of OnSystemRequest
Returns: OnSystemRequest
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
offset | Number |
Optional offset in bytes for resuming partial data chunks - The desired Offset. {'num_min_value': 0, 'num_max_value': 100000000000} |
OnSystemRequest
Set the RequestSubType
Kind: Instance method of OnSystemRequest
Returns: OnSystemRequest
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
type | String |
This parameter is filled for supporting OEM proprietary data exchanges. - The desired RequestSubType. {'string_min_length': 1, 'string_max_length': 255} |
OnSystemRequest
Set the RequestType
Kind: Instance method of OnSystemRequest
Returns: OnSystemRequest
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
type | RequestType |
The type of system request. - The desired RequestType. |
OnSystemRequest
Set the Timeout
Kind: Instance method of OnSystemRequest
Returns: OnSystemRequest
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
timeout | Number |
Optional timeout for HTTP requests Required if a URL is provided - The desired Timeout. {'num_min_value': 0, 'num_max_value': 2000000000} |
OnSystemRequest
Set the Url
Kind: Instance method of OnSystemRequest
Returns: OnSystemRequest
- The class instance for method chaining.
Param | Type | Description |
---|---|---|
url | String |
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. - The desired Url. {'string_min_length': 1} |