toggle menu
stripe-android
androidJvm
switch theme
search in API
stripe-ui-core
/
com.stripe.android.uicore.image
/
NetworkImageDecoder
Network
Image
Decoder
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP
]
)
class
NetworkImageDecoder
Members
Constructors
Network
Image
Decoder
Link copied to clipboard
constructor
(
)
Functions
decode
Link copied to clipboard
suspend
fun
decode
(
url
:
String
)
:
Bitmap
?
suspend
fun
decode
(
url
:
String
,
width
:
Int
,
height
:
Int
)
:
Bitmap
?
Fetches a
url
from network and decodes them to a
Bitmap
with the specified width and height.