For the following use cases, we will use a simple application with a screen to show the generated barcode as shown below.
The next steps will guide you on how to generate a barcode using one of the component's actions EncodeBarcode.
EncodeBarcode
GetBarcode
Value
CodeId
The next steps will guide you on how to generate a QR Code for a calendar event using one of the component's actions EncodeCalendarEvent.
EncodeCalendarEvent
The next steps will guide you on how to generate a QR Code for a contact using one of the component's actions EncodeContact.
EncodeContact
All other scenarios to create a QR Code are very similar to the previous ones explained above.
In the "Manage Dependencies" window choose the EncodeEmail action. This action takes as a mandatory parameter the email address to be shared. Optionally you can define the size of the QR code in pixels.
EncodeEmail
In the "Manage Dependencies" window choose the EncodeGeoLocation action. This action takes as mandatory parameters the latitude and longitude of the location. Optionally you can define the size of the QR code in pixels.
EncodeGeoLocation
In the "Manage Dependencies" window choose the EncodePhoneNumber action and the PhoneType static entity which will let you choose if you want to receive a phone call (default) or a facetime call. This action takes as a mandatory parameter the phone number to be shared. Optionally you can define the type of interaction (call or facetime) and the size of the QR code in pixels.
EncodePhoneNumber
PhoneType
In the "Manage Dependencies" window choose the EncodeSMS action. This action takes as mandatory parameters the phone number and the SMS text. Optionally you can define the size of the QR code in pixels.
EncodeSMS
This example is a bit more complex but more similar to the contact example above. In the "Manage Dependencies" window choose the EncodeWifi action, the WifiData structure, and the AuthenticationType static entity. On the parameters of the action expand the WifiData parameter to fill in its attributes according to the Wifi network details, the only mandatory parameter is the SSID but others might need to be filled in to properly share the Wifi network connection details. Optionally you can define the size of the QR code in pixels.
EncodeWifi
WifiData
AuthenticationType
The next steps will guide you on how to decode a barcode from an image using one of the component's actions DecodeBarcode. A similar outcome can be achieved with DecodeMultiBarcode, the only difference is that this action will try to identify all the barcodes from the image while the former will only return the first barcode identified.
DecodeBarcode
DecodeMultiBarcode
Upload1OnChange
Decode
Barcode