Class QrCodePrefix
Prefixes to use when generating QR codes used by Sensus.
Inheritance
Namespace: Sensus
Assembly: SensusAndroid.dll
Syntax
public static class QrCodePrefix : Object
Fields
IAM_CREDENTIALS
IAM credentials. Following this prefix should be REGION:ACCESSKEY:SECRET, denoting an IAM user.
Declaration
public const string IAM_CREDENTIALS = "iam-credentials:"
Field Value
Type | Description |
---|---|
System.String |
SENSING_AGENT
Sensing agents (see Agent). Following this prefix should be an internet-accessible URL from which to download an agent library via HTTPS.
Declaration
public const string SENSING_AGENT = "sensing-agent:"
Field Value
Type | Description |
---|---|
System.String |
SENSUS_PARTICIPANT_ID
Sensus participant identifiers. Following this prefix should be an arbitrary string denoting a participant.
Declaration
public const string SENSUS_PARTICIPANT_ID = "sensus-participant:"
Field Value
Type | Description |
---|---|
System.String |
SENSUS_PARTICIPATION
Participation barcodes.
Declaration
public const string SENSUS_PARTICIPATION = "sensus-participation:"
Field Value
Type | Description |
---|---|
System.String |
SENSUS_PROTOCOL
Sensus protocols. There are two types of Sensus protocol QR codes:
Direct URL: Following the prefix should be an internet-accessible URL from which to download a protocol file directly via HTTPS.
Managed URL: Following the prefix should be the following:
managed:BASEURL:PARTICIPANT_ID
where BASEURL is the URL to a Sensus authentication server (e.g., https://some.host.com or https://some.host.com:12345), and PARTICIPANT_ID is an (optional) participant ID. Read more about Sensus authentication servers here.
Declaration
public const string SENSUS_PROTOCOL = "sensus-protocol:"
Field Value
Type | Description |
---|---|
System.String |
SURVEY_AGENT
Survey agents (see Agent). Following this prefix should be an internet-accessible URL from which to download an agent library via HTTPS.
Declaration
public const string SURVEY_AGENT = "survey-agent:"
Field Value
Type | Description |
---|---|
System.String |