SetGeopointAction class abstract

<odk:setgeopoint>: records the device location into targetReference.

Port of SetGeopointAction. Apps provide location through requestLocationUpdates and report it with saveLocationValue.

Inheritance
Implementers

Constructors

SetGeopointAction(TreeReference? targetReference)
Creates the action for targetReference.

Properties

contextualizedTargetReference → TreeReference?
The target anchored to the triggering context.
no setter
hashCode → int
The hash code for this object.
no setterinherited
name → String
The element name, e.g. setvalue.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
targetReference ↔ TreeReference?
The node to set.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processAction(FormDef form, TreeReference? context) → TreeReference?
Performs the action in form, within context (a repeat instance or null for top level); returns the reference it set, if any.
override
requestLocationUpdates() → void
Starts obtaining a location; call saveLocationValue with it.
saveLocationValue(String location) → void
Stores location (an ODK geopoint string) in the target.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

elementName → const String
The element name.