Preferences Schema
ALERT Element
See Also  Send comments on this topic.
Preferences Schema : ALERT Element

Glossary Item Box

Description

Used to specify GPS alert settings for the various alerts in ArcPadPrefs.apx.

Diagram

ALERT Element

Overview

ALERT
Used to specify GPS alert settings for the various alerts in ArcPadPrefs.apx.
name required Restriction of xs:string
Alert name.
play optional Restriction of xs:string
Flag that determines whether to play a sound when the alert occurs.
show optional Restriction of xs:string
Flag that determines whether to display a message when the alert occurs.
sound optional xs:string
Path to a .WAV file to play when the alert occurs.

Attributes

NameTypeUseDefaultFixedDescription
nameRestriction of xs:stringrequired  Alert name.
playRestriction of xs:stringoptionaltrue Flag that determines whether to play a sound when the alert occurs.
showRestriction of xs:stringoptionaltrue Flag that determines whether to display a message when the alert occurs.
soundxs:stringoptional  Path to a .WAV file to play when the alert occurs.

Examples

Source

<xs:element name="ALERT" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to specify GPS alert settings for the various alerts in ArcPadPrefs.apx.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="name" use="required">
      <xs:annotation>
        <xs:documentation>Alert name.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="nogpsdata" />
          <xs:enumeration value="maxpdop" />
          <xs:enumeration value="maxepe" />
          <xs:enumeration value="nofix" />
          <xs:enumeration value="notgps" />
          <xs:enumeration value="not3d" />
          <xs:enumeration value="approachingdestination" />
          <xs:enumeration value="dataratewarning" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="true" name="play">
      <xs:annotation>
        <xs:documentation>Flag that determines whether to play a sound when the alert occurs.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="true" name="show">
      <xs:annotation>
        <xs:documentation>Flag that determines whether to display a message when the alert occurs.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="sound" type="xs:string">
      <xs:annotation>
        <xs:documentation>Path to a .WAV file to play when the alert occurs.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2013 All Rights Reserved.