-
public class BranchQRCode
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumBranchQRCode.BranchImageFormatpublic interfaceBranchQRCode.BranchQRCodeDataHandlerpublic interfaceBranchQRCode.BranchQRCodeImageHandlerpublic interfaceBranchQRCode.BranchQRCodeRequestHandler
-
Constructor Summary
Constructors Constructor Description BranchQRCode()
-
Method Summary
Modifier and Type Method Description BranchQRCodesetCodeColor(@NonNull() int codeColor)Set the code color for this BranchQRCode. BranchQRCodesetCodeColor(@NonNull() String hexCodeColor)Set the code color for this BranchQRCode. BranchQRCodesetBackgroundColor(@NonNull() int backgroundColor)Set the background color for this BranchQRCode. BranchQRCodesetBackgroundColor(@NonNull() String hexBackgroundColor)Set the background color for this BranchQRCode. BranchQRCodesetCenterLogo(@NonNull() String centerLogo)Set the center logo for this BranchQRCode. BranchQRCodesetWidth(@NonNull() Integer width)Set the image width for this BranchQRCode. BranchQRCodesetMargin(@NonNull() Integer margin)Set the border margin for this BranchQRCode. BranchQRCodesetImageFormat(@NonNull() BranchQRCode.BranchImageFormat imageFormat)Set the image format for this BranchQRCode. voidgetQRCodeAsData(@NonNull() Context context, @NonNull() BranchUniversalObject branchUniversalObject, @NonNull() LinkProperties linkProperties, @NonNull() BranchQRCode.BranchQRCodeDataHandler callback)voidgetQRCodeAsImage(@NonNull() Activity activity, @NonNull() BranchUniversalObject branchUniversalObject, @NonNull() LinkProperties linkProperties, @NonNull() BranchQRCode.BranchQRCodeImageHandler callback)-
-
Method Detail
-
setCodeColor
BranchQRCode setCodeColor(@NonNull() int codeColor)
Set the code color for this BranchQRCode.
- Parameters:
codeColor- A with value for the code color.
-
setCodeColor
BranchQRCode setCodeColor(@NonNull() String hexCodeColor)
Set the code color for this BranchQRCode.
- Parameters:
hexCodeColor- A String with value for the code color.
-
setBackgroundColor
BranchQRCode setBackgroundColor(@NonNull() int backgroundColor)
Set the background color for this BranchQRCode.
- Parameters:
backgroundColor- A with value for the background color.
-
setBackgroundColor
BranchQRCode setBackgroundColor(@NonNull() String hexBackgroundColor)
Set the background color for this BranchQRCode.
- Parameters:
hexBackgroundColor- A String with value for the background color.
-
setCenterLogo
BranchQRCode setCenterLogo(@NonNull() String centerLogo)
Set the center logo for this BranchQRCode.
- Parameters:
centerLogo- A String with value for the center logo.
-
setWidth
BranchQRCode setWidth(@NonNull() Integer width)
Set the image width for this BranchQRCode.
- Parameters:
width- A Integer with value for the width.
-
setMargin
BranchQRCode setMargin(@NonNull() Integer margin)
Set the border margin for this BranchQRCode.
- Parameters:
margin- A Integer with value for the margin.
-
setImageFormat
BranchQRCode setImageFormat(@NonNull() BranchQRCode.BranchImageFormat imageFormat)
Set the image format for this BranchQRCode.
- Parameters:
imageFormat- A BranchImageFormat with value for the image format.
-
getQRCodeAsData
void getQRCodeAsData(@NonNull() Context context, @NonNull() BranchUniversalObject branchUniversalObject, @NonNull() LinkProperties linkProperties, @NonNull() BranchQRCode.BranchQRCodeDataHandler callback)
-
getQRCodeAsImage
void getQRCodeAsImage(@NonNull() Activity activity, @NonNull() BranchUniversalObject branchUniversalObject, @NonNull() LinkProperties linkProperties, @NonNull() BranchQRCode.BranchQRCodeImageHandler callback)
-
-
-
-