Intents

Index

Enumerations

Type aliases

Type aliases

IntentType

IntentType: "DIAL_CALL" | "SAVE_CONTACT" | "SAVE_INSTRUMENT" | "SHARE_CONTEXT" | "START_CALL" | "START_CHAT" | "VIEW_CONTACT" | "VIEW_CHART" | "VIEW_QUOTE" | "VIEW_NEWS" | Intents | string

Type definition that is used wherever the API expects the name of an intent to be passed.

Since applications are free to define their own intents, it is not possible for TypeScript to verify that only valid intent names are passed to the FDC3 API. This type definition is more a hint to the callee, over a plain "string" argument.