Show / Hide Table of Contents

    Class VoiceInput

    Inheritance
    System.Object
    Input
    VoiceInput
    Implements
    System.ComponentModel.INotifyPropertyChanged
    IVariableDefiningInput
    Inherited Members
    Input.EFFECT_RESOLUTION_GROUP_NAME
    Input.CreateLabel(Int32)
    Input.GetLabelText(Int32)
    Input.Reset()
    Input.ValueMatches(Object, Boolean)
    Input.Copy(Boolean)
    Input.ToString()
    Input.Name
    Input.Id
    Input.GroupId
    Input.LabelText
    Input.LabelFontSize
    Input.DisplayNumber
    Input.Complete
    Input.Valid
    Input.Store
    Input.Latitude
    Input.Longitude
    Input.LocationUpdateTimestamp
    Input.Required
    Input.Viewed
    Input.CompletionTimestamp
    Input.DisplayConditions
    Input.BackgroundColor
    Input.Padding
    Input.Frame
    Input.CompletionRecords
    Input.StoreCompletionRecords
    Input.Display
    Input.SubmissionTimestamp
    Input.Caption
    Input.TriggeringDatum
    Input.PropertyChanged
    Namespace: Sensus.UI.Inputs
    Assembly: SensusAndroid.dll
    Syntax
    public class VoiceInput : Input, INotifyPropertyChanged, IVariableDefiningInput

    Constructors

    VoiceInput()

    Declaration
    public VoiceInput()

    VoiceInput(String)

    Declaration
    public VoiceInput(string outputMessage)
    Parameters
    Type Name Description
    System.String outputMessage

    VoiceInput(String, String)

    Declaration
    public VoiceInput(string name, string outputMessage)
    Parameters
    Type Name Description
    System.String name
    System.String outputMessage

    Properties

    DefaultName

    Declaration
    public override string DefaultName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    Input.DefaultName

    DefinedVariable

    The name of the variable in VariableValueUiProperty that this input should define the value for. For example, if you wanted this input to supply the value for a variable named study-name, then set this field to study-name and the user's selection will be used as the value for this variable.

    Declaration
    [EntryStringUiProperty("Define Variable:", true, 2, false)]
    public string DefinedVariable { get; set; }
    Property Value
    Type Description
    System.String

    The defined variable.

    Enabled

    Declaration
    public override bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    Input.Enabled

    OutputMessage

    Message to generate speech for when displaying this input.

    Declaration
    [EntryStringUiProperty("Output Message:", true, 11, true)]
    public string OutputMessage { get; set; }
    Property Value
    Type Description
    System.String

    The output message.

    Value

    Declaration
    public override object Value { get; }
    Property Value
    Type Description
    System.Object
    Overrides
    Input.Value

    Methods

    GetView(Int32)

    Declaration
    public override View GetView(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    Xamarin.Forms.View
    Overrides
    Input.GetView(Int32)

    RunAsync(Nullable<DateTimeOffset>, Action)

    Declaration
    public Task<string> RunAsync(Nullable<DateTimeOffset> firstRunTimestamp, Action postDisplayCallback)
    Parameters
    Type Name Description
    System.Nullable<System.DateTimeOffset> firstRunTimestamp
    System.Action postDisplayCallback
    Returns
    Type Description
    System.Threading.Tasks.Task<System.String>

    SetView(View)

    Declaration
    protected override void SetView(View value)
    Parameters
    Type Name Description
    Xamarin.Forms.View value
    Overrides
    Input.SetView(View)

    Implements

    System.ComponentModel.INotifyPropertyChanged
    IVariableDefiningInput
    Back to top Copyright © 2014-2018 University of Virginia
    Generated by DocFX