Deprecation warning

Please note that this is outdated documentation for an older release of the Scandit Barcode Scanner SDK.

We are deprecating the 5.x API on all platforms (except Linux). Release 5.19 in April 2021 will be our final. Applications running 5.x will continue to work, and we will continue to release critical bug fixes and security patches only, for one year. We encourage you to migrate to 6.x and take advantage of our latest / advanced features and improved performance.

You'll find the updated documentation at: Data Capture SDK Documentation for Xamarin.Android and Data Capture SDK Documentation for Xamarin.iOS

ParserResult Interface Reference

Properties

string JsonString [get]
 
NSDictionary< NSString, ParserFieldFieldsByName [get]
 
NSArray< ParserFieldFields [get]
 

Detailed Description

The SPLParserResult holds the result of a successfully parsed data string.

The result is a collection of fields that can either be accessed as an sequential array (fieldsArray), or a dictionary (fieldsDict) which maps field name onto values.

Property Documentation

string JsonString
get

The JSON string of the result content.

Since
5.5.0
NSDictionary<NSString, ParserField> FieldsByName
get

Dictionary of SPLField objects with key being the field name.

Since
5.5.0
NSArray<ParserField> Fields
get

Array of SPLField objects with key being the field name.

Use this accessor if the order of the fields in the string matter, if you are only interested in a particular field, using the SPLField.fieldsDict is simpler.

Since
5.5.0