process

Process the sample and update internal state of the controller. This operation should be called on background thread.

Calling this after the ProcessingResult.phase reached Phase.FINISHED is a programming error and terminates the process.

Return

Processing result.

Parameters

sample

Sample (or snapshot) at a single point in time.