Methods
getCard(type, id) → {FlowCard|Error}
Get a FlowCard.
Parameters:
Name | Type | Description |
---|---|---|
type |
string
|
Can be either |
id |
string
|
Id of the flow card as defined in your app's |
Returns:
- Type:
-
FlowCard
|Error
registerCard(cardInstance) → {FlowCard}
Register a FlowCard.
Parameters:
Name | Type | Description |
---|---|---|
cardInstance |
FlowCard
|
Returns:
- Type:
-
FlowCard
registerToken(tokenInstance, callbackopt) → {Promise}
Register a FlowToken.
Parameters:
Name | Type | Attributes | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
tokenInstance |
FlowToken
|
|||||||||||
callback |
function
|
<optional> |
|
Returns:
- Type:
-
Promise