CameraMotionListener


@UnstableApi
public interface CameraMotionListener


Listens camera motion.

Summary

Public methods

abstract void
onCameraMotion(long timeUs, float[] rotation)

Called when a new camera motion is read.

abstract void

Called when the camera motion track position is reset or the track is disabled.

Public methods

onCameraMotion

abstract void onCameraMotion(long timeUs, float[] rotation)

Called when a new camera motion is read. This method is called on the playback thread.

Parameters
long timeUs

The presentation time of the data.

float[] rotation

Angle axis orientation in radians representing the rotation from camera coordinate system to world coordinate system.

onCameraMotionReset

abstract void onCameraMotionReset()

Called when the camera motion track position is reset or the track is disabled.