Builder

class Builder(context: Context, id: String)

Used to create VGSCollect instances with default and overridden settings.

Parameters

context

Activity context.

id

Specific Vault ID.

Constructors

Link copied to clipboard
constructor(context: Context, id: String)

Main constrictor for creating VGSCollect instance builder.

Functions

Link copied to clipboard

Creates an VGSCollect with the arguments supplied to this builder.

Link copied to clipboard

Specify Environment for the VGSCollect instance.

Specify Environment for the VGSCollect instance. Also, Environment could be used with region prefix ( sandbox-eu-0 ).

Link copied to clipboard

Sets the VGSCollect instance to use the custom hostname. Also, the localhost IP can be used for VGS-Satellite for local testing.

Link copied to clipboard
fun setPort(@IntRange(from = 1, to = 65353) port: Int): VGSCollect.Builder

Sets the VGSCollect instance to use the custom hostname port. Port can be used only with localhost with VGS-Satellite, otherwise, it will be ignored.