SurveySamplingPackage class
A SamplingPackage
that knows how to collect data from user surveys based
on the research_package
package.
In contrast to other sampling packages, this package does not support any
dataTypes
. Collection of RPTask
data from a user is supported by the
SurveyUserTask user task.
- Inheritance
-
- Object
- SamplingPackage
- SmartphoneSamplingPackage
- SurveySamplingPackage
Constructors
Properties
-
dataTypes
→ List<
DataTypeMetaData> -
The list of data type this package supports.
no setterinherited
-
deviceManager
→ DeviceManager<
DeviceConfiguration< DeviceRegistration> > -
Get the
DeviceManager
for the device used by this package.no setterinherited - deviceType → String
-
What device type is this package using?
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- samplingSchemes → DataTypeSamplingSchemeMap
-
The default sampling schemes for all
dataTypes
in this package.no setteroverride
Methods
-
create(
String type) → Probe? -
Creates a new
Probe
of the specifiedtype
. Note thattype
should be one of thedataTypes
that this package supports. Returns null if a probe cannot be created for thetype
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onRegister(
) → void -
Callback method when this package is being registered.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited