SDKCandidate

data class SDKCandidate(val optionsSchema: JSONObject, val options: JSONObject, val identityHash: String, val title: String? = null, val description: String? = null, val icon: String? = null, val type: SDKCandidate.Type) : Parcelable

Data class representing configuration candidates.

Constructors

Link copied to clipboard
constructor(optionsSchema: JSONObject, options: JSONObject, identityHash: String, title: String? = null, description: String? = null, icon: String? = null, type: SDKCandidate.Type)
constructor(parcel: Parcel)

Types

Link copied to clipboard
object CREATOR : Parcelable.Creator<SDKCandidate>
Link copied to clipboard
enum Type : Enum<SDKCandidate.Type>

Candidate Type.

Properties

Link copied to clipboard
val description: String?

Description.

Link copied to clipboard
val icon: String?

An icon can be in various formats, such as a link or, for example, base64.

Link copied to clipboard
val identityHash: String

Identifier of the candidate configuration; must not be blank — used to match candidates against the terminal configuration and to target validation errors.

Link copied to clipboard
val options: JSONObject

Filled-in values of the candidate's fields; every field declared as required in optionsSchema must be filled in here.

Link copied to clipboard
val optionsSchema: JSONObject

Layout of the candidate's fields; declares which fields are required.

Link copied to clipboard
val title: String?

Title.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun describeContents(): Int
Link copied to clipboard
open override fun writeToParcel(parcel: Parcel, flags: Int)