Skip to content

SmartphoneStudyStatusEvent

A status event for a SmartphoneStudy, including its sampling state.

Emitted on SmartphoneStudy.events.

Inheritance

Constructors

SmartphoneStudyStatusEvent

const SmartphoneStudyStatusEvent(
  1. SmartphoneStudy study,
  2. StudyStatusEventTypes event, [
  3. SmartphoneDeploymentExecutorSamplingState? state
])

Properties

state

The sampling state of the study when the event happened.

Methods

toString

String toString()
override

A string representation of this object.

Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.

Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.