Skip to content

VibrationTestEventRecorder

Overview

A collection of VibrationTestEvents. Has functions that prepare the data to be sent to a containing Swift app (as is used in the Vibration project) - so that the data can be saved to the device or sent back to the team for further testing.

@author Jesse Greenberg

Class VibrationTestEventRecorder

import { VibrationTestEventRecorder } from 'scenerystack/tappi';

Constructor

new VibrationTestEventRecorder( vibrationManager )

Instance Methods

addTestEvent( testEvent )

Adds a VibrationTestEvent to the collection. @public

@param {VibrationTestEvent} testEvent

dataToString()

Convert all saved events to a string that can be sent to the containing Swift app. @public

Source Code

See the source for VibrationTestEventRecorder.js in the tappi repository.