Interface IFinDecoupledForm
Asynchronous UI for showing and hiding modeless prompts for decoupled transaction confirmation.
Namespace: Subsembly.FinTS.Online
Assembly: Subsembly.FinTS.Core.dll
Syntax
public interface IFinDecoupledForm
Remarks
At any one time there can always be only one Decoupled Prompt showing. If
Start
An asynchronous modeless prompt only works when it is shown from a background worker
thread. Hence the methods of this interface must never be called from the main UI
thread. In order to ensure this, an implementation of IFin
Methods
FinishDecoupledPrompt(FinContact, FinDialogResultCode)
Remove the prompt previously shown by Start
Declaration
void FinishDecoupledPrompt(FinContact aContact, FinDialogResultCode nResult)
Parameters
Type | Name | Description |
---|---|---|
Fin |
aContact | |
Fin |
nResult | The actual result from the decoupled confirmation. Possible result values are: Success, Cancelled, Error, or any FinTS status error code with a value between 9000 and 9999. |
StartDecoupledPrompt(FinContact, FinCredential, Action)
Invoked in order to show a modeless prompt to instruct the user to perform a decoupled transaction confirmation. The method must show the prompt and return.
Declaration
bool StartDecoupledPrompt(FinContact aContact, FinCredential aCredential, Action fnOnCancel)
Parameters
Type | Name | Description |
---|---|---|
Fin |
aContact | Identifies the contact for which to complete the decoupled transaction confirmation. This is used to provide as much information to the user as possible. |
Fin |
aCredential | Provides the information to be shown on the prompt. Not all properties of this
instance shall actually be used when constructing the prompt. Only the following
properties are of concern:
Heading,
Prompt,
Tan |
System. |
fnOnCancel | Optional callback that shall be invoked when the user clicks on a CANCEL button
located on the prompt, or otherwise dismisses the prompt. If this is |
Returns
Type | Description |
---|---|
System. |
If the prompt was created successfully, and it is now shown, then |
Remarks