Behind

data class Behind(val xBias: Float, val yBias: Float) : TapToPayUxConfiguration.TapZone

The payment method should be tapped on the back of the device.

Constructors

Link copied to clipboard
constructor()

Create a Behind tap zone with automatic bias determination.

constructor(xBias: Float, yBias: Float)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val xBias: Float

The horizontal bias of the tap zone indicator, as a float between 0 and 1. 0 is on the left of the screen when it is in its natural orientation. 1 is on the right.

Link copied to clipboard
val yBias: Float

The vertical bias of the tap zone indicator, as a float between 0 and 1. 0 is at the top of the screen when it is in its natural orientation. 1 is at the bottom.

Functions

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