Skip to content

Behavior when event data cannot be provided is underspecified #118

@rakuco

Description

@rakuco

Each of the 3 event types defined in this specification have an excerpt that looks like this:

If an implementation can never provide motion information, the event should be fired with the acceleration, accelerationIncludingGravity and rotationRate attributes set to null.

This does not look entirely clear to me:

  • Should implementations fire a single event with nullable attributes set to null, or does the text intend to give implementations some leeway so that they can continue trying (and consequently fire any number of "empty" events)?
  • Doesn't it make more sense to just not fire an event at all?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions