Glide
Glide
/
com.bumptech.glide.load.resource.file
/
FileDecoder
File
Decoder
open
class
FileDecoder
:
ResourceDecoder
<
T
,
Z
>
Content copied to clipboard
A simple
com.bumptech.glide.load.ResourceDecoder
that creates resource for a given .
Functions
Functions
decode
Link copied to clipboard
open
fun
decode
(
source
:
File
,
width
:
Int
,
height
:
Int
,
options
:
Options
)
:
Resource
<
File
>
Content copied to clipboard
Returns a decoded resource from the given data or null if no resource could be decoded.
handles
Link copied to clipboard
open
fun
handles
(
source
:
File
,
options
:
Options
)
:
Boolean
Content copied to clipboard
Returns
true
if this decoder is capable of decoding the given source with the given options, and
false
otherwise.