Show / Hide Table of Contents

    Class ScriptState

    Status of scripts within Sensus

    Inheritance
    System.Object
    ScriptState
    Namespace: Sensus.Probes.User.Scripts
    Assembly: Sensus.Shared.NuGet.dll
    Syntax
    public sealed class ScriptState : Enum

    Fields

    AgentAccepted

    The IScriptProbeAgent accepted the IScript for delivery, making it available to the user.

    Declaration
    public const ScriptState AgentAccepted
    Field Value
    Type Description
    ScriptState

    AgentDeclined

    The IScriptProbeAgent declined the IScript for delivery, causing it to be ignored forever.

    Declaration
    public const ScriptState AgentDeclined
    Field Value
    Type Description
    ScriptState

    AgentDeferred

    The IScriptProbeAgent deferred delivery of the IScript to a later time.

    Declaration
    public const ScriptState AgentDeferred
    Field Value
    Type Description
    ScriptState

    Cancelled

    The script was Opened by the user, but the user subsequently cancelled its completion.

    Declaration
    public const ScriptState Cancelled
    Field Value
    Type Description
    ScriptState

    Deleted

    The script was deleted by the user after it was Delivered.

    Declaration
    public const ScriptState Deleted
    Field Value
    Type Description
    ScriptState

    Delivered

    The script was delivered to the user and made available for taking. On Android this will be exactly the scheduled/triggered time. On iOS, this will be exactly the triggered time, but when it comes to scheduled scripts the timing depends on whether push notifications are enabled. Without push notifications the delivery time will be when the user brings the app to the foreground. With push notifications enabled, the delivery time will correspond to the arrival of the push notification, which causes the script to run.

    Declaration
    public const ScriptState Delivered
    Field Value
    Type Description
    ScriptState

    Expired

    The script expired after it was Delivered.

    Declaration
    public const ScriptState Expired
    Field Value
    Type Description
    ScriptState

    Opened

    The script was opened by the user after it was Delivered.

    Declaration
    public const ScriptState Opened
    Field Value
    Type Description
    ScriptState

    Submitted

    The script was submitted by the user after it was Opened, though the user might not necessarily have completed all fields.

    Declaration
    public const ScriptState Submitted
    Field Value
    Type Description
    ScriptState

    value__

    Declaration
    public int value__
    Field Value
    Type Description
    System.Int32
    Back to top Copyright © 2014-2018 University of Virginia
    Generated by DocFX