This method allows you to obtain the image associated with a particular card network by passing in the card network type as an argument.

123456
@DrawableRes@Throws(SdkUninitializedException::class)@JvmStaticfun getCardNetworkImage(    cardNetwork: CardNetwork.Type,): Int
kotlin
copy

Parameters

cardNetworkCardNetwork.TypeRequired

cases

CardNetwork.Type.UNKNOWN

CardNetwork.Type.VISA

CardNetwork.Type.MASTERCARD

CardNetwork.Type.AMEX

CardNetwork.Type.DINERS_CLUB

CardNetwork.Type.DISCOVER

CardNetwork.Type.JCB

CardNetwork.Type.UNIONPAY

CardNetwork.Type.MAESTRO

CardNetwork.Type.ELO

CardNetwork.Type.MIR

CardNetwork.Type.HIPER

CardNetwork.Type.HIPERCARD

Returns

A @DrawableRes Int that can be used to get actual resource.

Throws

SdkUninitializedException

An exception that will be thrown in case the SDK was not initialized properly. Before calling any of the manager's method, the SDK must be initialized using start method.