Type aliases
BatteryLevel
Battery
Level
: { batteryLevel
: number; batteryStatus
: BatteryStatus; isCharging
: boolean }Type declaration
batteryLevel: number
isCharging: boolean
BatteryStatus
BatteryStatus: "critical" | "low" | "nominal" | "unknown"
ConnectionStatus
ConnectionStatus: "connected" | "connecting" | "notConnected"
DeviceType
DeviceType: "chipper1X" | "chipper2X" | "stripeM2" | "verifoneP400" | "wiseCube" | "wisePad3" | "wisePosE" | "wisePad3s" | "wisePadEDevkit" | "stripeS700Devkit" | "stripeS700" | "stripeS710Devkit" | "stripeS710" | "cotsDevice" | "appleBuiltIn" | "etna"
DisconnectReason
DisconnectReason: "disconnectRequested" | "rebootRequested" | "securityReboot" | "criticallyLowBattery" | "poweredOff" | "bluetoothDisabled" | "unknown"
DisplayMessage
DisplayMessage: "insertCard" | "insertOrSwipeCard" | "multipleContactlessCardsDetected" | "removeCard" | "retryCard" | "swipeCard" | "tryAnotherCard" | "tryAnotherReadMethod" | "checkMobileDevice" | "cardRemovedTooEarly"
EstimatedUpdateTime
EstimatedUpdateTime: "estimate1To2Minutes" | "estimate2To5Minutes" | "estimate5To15Minutes" | "estimateLessThan1Minute"
InputOptions
InputOptions: "insertCard" | "swipeCard" | "tapCard"
NetworkStatus
NetworkStatus: "offline" | "online"
ReaderSettings
Reader
Settings
: { accessibility
?: Accessibility; error
?: undefined } | { accessibility
?: undefined; error
?: StripeError }ReaderSettingsParameters
ReaderSettingsParameters: { textToSpeechViaSpeakers: boolean }
Type declaration
textToSpeechViaSpeakers: boolean
ReaderSupportParams
Type declaration
Optional simulated?: boolean
ReaderSupportResult
Reader
Support
Result
: { error
?: StripeError; readerSupportResult
: boolean }Type declaration
readerSupportResult: boolean
ReaderTextToSpeechStatus
ReaderTextToSpeechStatus: "off" | "headphones" | "speakers"
SimulateUpdateType
SimulateUpdateType: "random" | "available" | "none" | "required" | "lowBattery"
SoftwareUpdate
Software
Update
: { deviceSoftwareVersion
: string; estimatedUpdateTime
: EstimatedUpdateTime; requiredAt
?: string }Type declaration
deviceSoftwareVersion: string
Optional requiredAt?: string