Rive Android
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Rive Android
Rive Android
/
app.rive.runtime.kotlin.core
/
BytesRequest
Bytes
Request
class
BytesRequest
(
url
:
String
,
onResponse
:
(
bytes
:
ByteArray
)
->
Unit
,
errorListener
:
Response.ErrorListener
)
:
Request
<
ByteArray
>
Members
Constructors
Bytes
Request
Link copied to clipboard
constructor
(
url
:
String
,
onResponse
:
(
bytes
:
ByteArray
)
->
Unit
,
errorListener
:
Response.ErrorListener
)
Properties
body
Link copied to clipboard
open
override
val
body
:
ByteArray
?
body
Content
Type
Link copied to clipboard
open
override
val
bodyContentType
:
String
?
cache
Entry
Link copied to clipboard
@get:
Nullable
open
override
var
cacheEntry
:
Cache.Entry
?
cache
Key
Link copied to clipboard
open
override
val
cacheKey
:
String
?
error
Listener
Link copied to clipboard
@get:
Nullable
open
override
val
errorListener
:
Response.ErrorListener
?
headers
Link copied to clipboard
open
override
val
headers
:
Map
<
String
?
,
String
?
>
?
is
Canceled
Link copied to clipboard
open
override
val
isCanceled
:
Boolean
method
Link copied to clipboard
open
override
val
method
:
Int
post
Body
Link copied to clipboard
open
override
val
postBody
:
ByteArray
?
post
Body
Content
Type
Link copied to clipboard
open
override
val
postBodyContentType
:
String
?
priority
Link copied to clipboard
open
override
val
priority
:
Request.Priority
?
retry
Policy
Link copied to clipboard
open
override
var
retryPolicy
:
RetryPolicy
?
sequence
Link copied to clipboard
override
var
sequence
:
Int
tag
Link copied to clipboard
open
override
var
tag
:
Any
?
timeout
Ms
Link copied to clipboard
override
val
timeoutMs
:
Int
traffic
Stats
Tag
Link copied to clipboard
open
override
val
trafficStatsTag
:
Int
url
Link copied to clipboard
open
override
val
url
:
String
?
Functions
add
Marker
Link copied to clipboard
open
fun
addMarker
(
tag
:
String
?
)
cancel
Link copied to clipboard
@
CallSuper
open
fun
cancel
(
)
compare
To
Link copied to clipboard
open
operator
fun
compareTo
(
other
:
Request
<
ByteArray
?
>
?
)
:
Int
deliver
Error
Link copied to clipboard
open
fun
deliverError
(
error
:
VolleyError
?
)
has
Had
Response
Delivered
Link copied to clipboard
open
fun
hasHadResponseDelivered
(
)
:
Boolean
mark
Delivered
Link copied to clipboard
open
fun
markDelivered
(
)
set
Request
Queue
Link copied to clipboard
open
fun
setRequestQueue
(
requestQueue
:
RequestQueue
?
)
:
Request
<
*
>
?
set
Should
Cache
Link copied to clipboard
fun
setShouldCache
(
shouldCache
:
Boolean
)
:
Request
<
*
>
?
set
Should
Retry
Connection
Errors
Link copied to clipboard
fun
setShouldRetryConnectionErrors
(
shouldRetryConnectionErrors
:
Boolean
)
:
Request
<
*
>
?
set
Should
Retry
Server
Errors
Link copied to clipboard
fun
setShouldRetryServerErrors
(
shouldRetryServerErrors
:
Boolean
)
:
Request
<
*
>
?
should
Cache
Link copied to clipboard
fun
shouldCache
(
)
:
Boolean
should
Retry
Connection
Errors
Link copied to clipboard
fun
shouldRetryConnectionErrors
(
)
:
Boolean
should
Retry
Server
Errors
Link copied to clipboard
fun
shouldRetryServerErrors
(
)
:
Boolean