PaygilantPlugin class

Constructors

PaygilantPlugin()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

getDeviceId Future<String>
no setter
getSessionId Future<String>
no setter
platformVersion Future<String>
no setter

Static Methods

arriveToCheckPoint(CheckPoint checkpoint) Future<void>
Sends info to Paygilant server that user has arrived to checkpoint -param {Checkpoint} checkPoint
enumToString(Object? o) String
getRiskForCheckPoint(CheckPoint checkpoint) Future<Map<String, dynamic>>
Gets risk for checkpoint param {Checkpoint} checkPoint returns {Map} risk score
init(String serverUrl, String? userId) Future<void>
Initializes Paygilant service. This function must be invoked before any other Paygilant function
initializeDeviceId() Future<void>
Initialized device Id
logout() Future<void>
logout
onRequestPermissionsResult(List<String> result) Future<void>
Request Permissions Result - list / single -param {List
pauseListenToSensors() Future<void>
Sends information that app is paused (standby, user switched to other app).
registerWith(dynamic registrar) → void
setUserId(String userId) Future<void>
When the user receives the "user id", the app needs to update the SDK with this information.
startNewScreenListener(ScreenListenerType screenListenerType, int screenId) Future<void>
Start screen listener - stating bio monitoring to a given screen. param {ScreenListenerType} ScreenListenerType - type of screen listener param {int} screenId - Screen id number
updateCheckPointStatus(CheckPointType checkPointType, String requestID, CheckPointStatus checkPointStatus, String transactionID) Future<void>
Updates checkpoint -param {CheckpointType} checkPointType - type of checkpoint -param {String} requestId - request id -param {CheckPointStatus} checkPointStatus - decision as made by the customer related to the checkpoint {String} transactionID - transaction id